WebSphere Commerce Developer

Uninstalling WebSphere Commerce Developer maintenance packages (silent method)

You can use a silent method to uninstall a maintenance package on a WebSphere Commerce Developer environment.

To use this method you simulate a WebSphere Commerce Developer uninstallation and record the uninstallation options in a response file. Then, you can use the response file to uninstall the WebSphere Commerce Developer silently.

A response file is generated by uninstalling the maintenance 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 maintenance package silently.

Before you begin

  1. Ensure that you are logged in with a Windows user ID that is a member of the Administrator group.
  2. Stop the WebSphere Commerce Developer Test server and close WebSphere Commerce Developer.
  3. Backup your system before you create the response file. The process updates your system.

Procedure

  1. Create a response file:
    If you already have a response file, skip to Step 2.
    1. In a command prompt, go to the eclipse subdirectory in the directory where you installed IBM Installation Manager.
      For example, drive:\Program Files\IBM\Installation Manager.
    2. Run the following command to create a response file.
      Note: Ensure that you enter a file path that exists. Installation Manager does not create directories for the response file and the log file.
      IBMIM –record response_file_path
      For example, IBMIM –record C:\temp_agent_data\installresponse.txt
      response_file_path
      The full path to the file where you want to record the uninstallation options. Ensure that the directory where you want to recreate the response file exists. If the directory does not exist, the response file is not created. Do not use the same file name as the response file that you recorded for the silent installation.
      The Installation Manager starts.
    3. Complete the steps in the Installation Manager to uninstall a maintenance package by using the interactive method.
      Note: To uninstall a maintenance package only, you need to use the Roll back option in the Installation Manager.
      The options that you choose while you use the interactive method are recorded in the response file. For more information about using the interactive method, see Uninstalling maintenance packages (interactive method).
    4. Click Finish, then close Installation Manager to save and finalize the response file.
    5. Revert your system back to the state it was in before you created the response file.
  2. Copy the response file, response_file_path, to the machines that intend to use the file for a silent uninstallation.
  3. Run the following command in a command prompt to uninstall the toolkit silently.
    IMCL.exe -input response_file_path -log log_file_path -acceptLicense
    Note: Add the -sP parameter to obtain more progress information.
    • log_file_path is the full path of the log file, for example c:\logs\maintenance_uninstall.log. The full path must exist, for example c:\logs\
  4. Ensure that the uninstallation was successful by checking the log files.
    • WCDE_installdir\logs\update\actions\uninstall\installactions.out.log
    • WCDE_installdir\logs\update\8.0.0-WS-WCDeveloperEnterprise-FP00x.uninstall\updatelog.txt
    • log_file_path

What to do next

Refresh the workspace and republish the application after the maintenance package is installed:
  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. In the Explorer view, select all projects and select File > Refresh (or the F5 keyboard shortcut) to refresh the projects in the workspace.
  3. Start or restart the WebSphere Commerce Test Server.
  4. Right-click the test server in the Servers view and select Publish.
  5. Wait for the application to finish publishing and to restart.