Update - OpCon RPA
What is it?
This page describes how to update an existing OpCon RPA installation. Updates have five steps:
- Read the update considerations for the version you are moving to.
- Stop the RPA Agent service and the Tray Client.
- Back up your settings and database. Required before updating to 1.2.0.
- Run the RPA Agent installer (and update the ACS plugin, if your version requires it).
- Verify the service and Tray Client are running, then apply any version-specific post-update tasks.
This page assumes the RPA Agent and (for cloud installations) Netcom Relay are already installed. If they are not, follow Installation - OpCon RPA Agent and Netcom Relay instead.
Before you begin
You need:
| Item | Where to get it |
|---|---|
RPAAgent_x.y.z.msi | OpCon Web Installer (OWI) — Agents section |
sma.acs.OpConRPA.dll (only if your version requires an ACS plugin update — see considerations below) | OpCon Web Installer (OWI) — Integrations section |
| Local administrator rights on the Windows host | — |
Update considerations
Read the entry for the version you are updating to before running the installer. Each entry tells you whether the ACS plugin must be updated and whether any post-update work is required.
1.2.0
The database records which Agent version last wrote to it, and 1.2.0 stamps that record the first time it starts. From that point on, 1.1.0 refuses to open the database: the RPA Agent service will not start, and its log reports that the database was written by a newer Agent version. Reinstalling 1.1.0 over a 1.2.0 installation therefore leaves you with an Agent that does not run, and there is no way to convert the database back.
If you have to return to 1.1.0, restore the DataCache folder from a backup taken before the 1.2.0 update. Credentials encrypted by 1.2.0 cannot be decrypted by 1.1.0 either, so re-enter any credential added or changed since the backup. See Back Up and Restore the Database for the backup, restore, and downgrade procedures.
1.2.0 runs Web Macro and Scan Document tasks in their own host process with no interactive session. That host process is never run as Local System, and it never falls back to a connected RPA Tray Client. Because the Agent service always runs as Local System, an existing Web Macro or Scan Document task with no execution user fails. A connected RPA Tray Client does not rescue it. This affects every installation, so an existing task can start failing on a host that has not otherwise changed.
Before you update, open each Web Macro and Scan Document task, set an execution user, and save the task. Saving is what writes the value — a task authored on an earlier version never stored one, so it has to be saved once even if nothing looks like it changed.
| Topic | What to know |
|---|---|
| ACS plugin update | Required. The plugin creates the Windows session for a Robot Task over Remote Desktop and asks the Agent whether a session already exists. Update the ACS Plugin DLL. |
| Downgrade | Not supported. Once 1.2.0 has started, 1.1.0 refuses to open the database and its service will not start. Back up DataCache before updating — a pre-update backup is the only route back. |
| Service account | The RPA Agent service runs as Local System on every installation. The installer configures it on both a clean install and an update — there is nothing to choose and no properties to pass. See Install the RPA Agent. |
| Web Macro and Scan Document tasks | Now run in their own host process with no interactive session. A task with no execution user fails. See the warning above. |
| Wildcards in filters | Wildcard patterns in window titles, element text, and file and folder filters are now matched correctly. A pattern that previously never matched may now match. Review tasks whose fields contain *, ?, or #. See Wildcard Matching. |
1.1.0
| Topic | What to know |
|---|---|
| ACS plugin update | Required. The task schema changed so that tasks are fetched from the OpCon RPA server for querying and running. Update the ACS Plugin DLL. |
| Task storage | Tasks are now stored locally on the RPA Agent instead of in the OpCon Script Repository. Existing tasks remain available in the local database. |
| OpCon user | OpCon RPA no longer requires an OpCon user. The OpCon Settings tab has been removed from the Tray Client. Stop the RPA Agent before removing the OpCon user that was associated with it. |
| Existing master jobs | Existing master jobs continue to run. When you edit one, OpCon displays upgrade instructions. |
1.0.2
| Topic | What to know |
|---|---|
| ACS plugin update | Not required. No update was made to the ACS plugin in this version. |
| Network Credentials | This version fixed a bug where passwords for Network Credentials were not being saved. Update the password on every existing Network Credential before using it with an Execution Context, even if you were not using it before. Passwords are encrypted with the Windows Data Protection API. |
| Robot tasks | This version made an Execution Context required for all Robot tasks. Any existing Robot task must be saved and published again with an Execution Context defined. See Execution Context. |
| Impact on existing tasks | Running existing Robot tasks results in job failures until each task has been saved and published with an Execution Context. |
1.0.1
| Topic | What to know |
|---|---|
| ACS plugin update | Required. This update is needed to receive a bug fix where Agent status showed as available even when the Tray Client was not actually running. |