The silent service pack installation with CMUpdate.exe allows administrators to update ServicePack installations automatically without user interaction. Using simple command-line parameters, you can update single or multiple installations, verify builds, unregister old assemblies, or skip re-registration for faster deployment. This method ensures quick, consistent, and efficient updates across all environments.
This document explains the syntax, parameters, flags, and provides step-by-step examples to guide users to perform ServicePack installation.
Syntax:
CMUpdate.exe [-sI_NAME [-checkbuild] [-unregister] [-dontregisteragain]]
Parameters:
-sI_NAME
I_NAME specifies the installation name to target during the update process. Installation name is set when installing ConnectMaster and uses the following rule by default:
Format:
<installation-user>_<date>Example:
Administrator_20091212
Installation names can be changed during installation to any name.
Each installation name corresponds to a configuration file stored in the following location:
%CommonProgramFiles%\ConnectMaster\<installation_name>.CMI
Example path:
C:\Program Files\Common Files\ConnectMaster\ORACLE19c.cmi
In this example, installation name was set to ORACLE19c during the installation. This name (ORACLE19c) must be used as I_NAME parameter.
Flags
| Flag | Description |
|---|---|
| -checkbuild | Verifies whether the current build is already installed in the specified installation ( -s parameter). |
| -unregister | Removes all ConnectMaster assemblies except those belonging to the current build version. Useful for clean-up before reinstalling or upgrading. |
| -dontregisteragain | Skips registering assemblies that are already installed, reducing redundant operations during batch updates. |
Operational Mode:
Silent Mode Installation
Silent mode allows automated updates without user interaction.
Main Examples
Example 1: Update a Specific Installation
Updates only the installation named ORACLE19C:
Put your service pack into your selected Folder,
Open command Prompt with Admin and execute below command.
C:\Temp\ServicePack_7.03.0234.1_x64>cmupdate.exe -sORACLE19c
Note: In this case, ServicePack is unpacked to Temp folder.
Example 2: Update Multiple Installations
Updates all installations whose names begin with “ORA”:
Open command Prompt with Admin and execute below command.
C:\Temp\ServicePack_7.03.0234.1_x64>cmupdate.exe -sORA
Note: No wildcard is used. Update is performed for all installation on the system starting with the defined string.
Examples for other Flags
Example 3: Verify Build Installation
Checks whether the specified build is already installed for ORACLE19c:
Open command Prompt with Admin and execute below command.
C:\Temp\ServicePack_7.03.0234.1_x64>CMUpdate.exe -sORACLE19c -checkbuild
Example 4: Unregister Assemblies
Removes all ConnectMaster assemblies (except current build) for the specified installation:
Open command Prompt with Admin and execute below command.
C:\Temp\ServicePack_7.03.0234.1_x64>CMUpdate.exe -sORACLE19c -unregister
Example 5: Skip Re-registration
Performs an update, but skips registering assemblies that are already present:
Open command Prompt with Admin and execute below command.
C:\Temp\ServicePack_7.03.0234.1_x64>CMUpdate.exe -sORACLE19c -unregister -dontregisteragain
Comments
0 comments
Please sign in to leave a comment.