Silently Install an Update
- Last UpdatedJan 27, 2026
- 2 minute read
You can silently install a monthly update by running a command from the command line.
Note: With the release of Plant SCADA 2023 R2 Update 05 (November 2024), the update installer was changed to a ZIP archive that you extract manually. The executable is no longer a self-extracting wrapper, which means the -sp argument is no longer recognized.
-
Plant SCADA 2023 R2 Update 04 (or earlier)
Run the following from the command line (assuming the update executable is in the current directory):
"Plant SCADA 2023 R2 Update <n>.exe" -sp/silent
Replace <n> with the update number and date to match the name of the update executable.
This command will return immediately without waiting for the update to finish installing. To wait for the update to install (for example, when installing from a batch file), use the built-in start command:
start /w "" "Plant SCADA 2023 R2 Update <n>.exe" -sp/silent
The empty "" are important to tell the start command to interpret the quoted update name as the executable to run (instead of the window title). The quotes are required on the update name as it contains spaces.
-
Plant SCADA 2023 R2 Update 05 (or later)
After you have manually extracted the update ZIP file, run the following from the command line (assuming the update executable is in the current directory):
"Plant SCADA 2023 R2 Update <n>.exe" -silent
Replace <n> with the update number and date to match the name of the update executable.
This command will return immediately without waiting for the update to finish installing. To wait for the update to install (for example, when installing from a batch file), use the built-in start command:
start /w "" "Plant SCADA 2023 R2 Update <n>.exe" -silent
The empty "" are important to tell the start command to interpret the quoted update name as the executable to run (instead of the window title). The quotes are required on the update name as it contains spaces.
Any required prerequisites (for example, Platform Common Services) will be installed.
Any running Plant SCADA services will be automatically stopped by the update and restarted again when complete. Any other running Plant SCADA programs, such as Plant SCADA Studio or Plant SCADA Runtime in non-service mode, will not be stopped. If this occurs, the update will not be successful.
Return Values
The update executable will return 0 to indicate the update was installed successfully.
If 3010 is returned, it indicates that the update was installed successfully but a reboot is required to complete installation.
Any another non-zero value will indicate an error (see the table below).
Use the %ERRORLEVEL% environment variable to check the return code. The start command must be used to retrieve the return code properly.
|
Return value |
Description |
|
1603 |
• One or more non-service Plant SCADA processes are running. • An error occurred launching Windows Installer or setup.exe to install a prerequisite or patch file. |
|
1605 |
The version of Plant SCADA this update is intended for is not installed. |
|
1638 |
A newer monthly update is already installed. |
|
Other |
The error code returned by Windows Installer or setup.exe if an error occurs when installing a prerequisite or patch file. |