Uninstalling HCL Commerce Developer Update Packages (silent method)
You can use a silent method to uninstall an Update Package on a HCL Commerce Developer environment.
To use this method you simulate an Update Package uninstallation with the interactive method and record the uninstallation options in a response file. Then, you can use the response file to uninstall the Update Package silently.
A response file is generated by uninstalling the Update Package on a machine by using the interactive method. The options that you choose in the GUI are recorded in a file. Then, you can use the response file on other machines to uninstall the Update Package silently.
Before you begin
- Ensure that you are logged in with a Windows user ID that is a member of the Administrator group.
- Stop the HCL Commerce Test server and close HCL Commerce Developer
- Backup your system before you create the response file. The process updates your system.
Procedure
-
Create a response file:
If you already have a response file, skip to Step 2.
- Copy the response file, response_file_path, to the machines that intend to use the file for a silent uninstallation.
-
Run the following command in a command prompt to uninstall the Update Package silently.
IMCL.exe -input response_file_path -acceptLicense
Note: Add the -sP parameter to obtain more progress information. -
Ensure that the uninstallation was successful by checking the log file.
- WCDE_installdir\UpdateDelta\9.0.x.y\applyUpdate.log
- Restore the database backup to the point where it was before you applied the update.
What to do next
- Verify your search index data.
- Refresh the workspace and republish the application after the update is completed.
- Open HCL Commerce Developer and switch to the Enterprise Explorer view.
- In the Explorer view, select all projects and select (or the F5 keyboard shortcut) to refresh the projects in the workspace.
- (Optional) If you enabled workspaces in HCL Commerce Developer Version 9.0.0.0 and you just installed
Version 9.0.0.1, complete the following steps for workspaces to function in
9.0.0.1.
- Open the Administration console, and go to . server is the name of your server, and the default value is server1.
- In the Generic JVM argument field of the
Configuration tab, add the following
string.
-DWorkspaceTaskListEnabled=true
- Save your changes to the master configuration.
- Start or restart the test server
- Right-click the test server in the Servers view and select Publish.
- Wait for the application to finish publishing and to restart.