WebSphere Commerce Developer

Uninstalling the WebSphere Commerce toolkit silently

To uninstall WebSphere Commerce remotely on many clients, use the silent uninstallation method. To use this method you simulate a toolkit installation by creating a silent installation response file, then you record a silent uninstall response file. Finally, you uninstall the toolkit.

Procedure

  1. Stop the WebSphere Commerce test server and close WebSphere Commerce Developer.
  2. To create an installation response file:
    1. Copy the contents of the following directory to a temporary, writable directory (the agent_data_location).
      • XPdrive:\Documents and Settings\All Users\Application Data\IBM\Installation Manager
      • Vistadrive:\ProgramData\IBM\Installation Manager
        Note: If the path names are too long, you might need to use the XCOPY command to copy the files.

      For example, the agent_data_location can be C:\temp_agent_data. This folder is used by the Installation Manager to read and write information about the installation that you are recording. For the Installation Manager to detect previous Rational Application Developer installations, the agent_data_location must contain this copied data.

    2. On a command line, go to the eclipse subdirectory in the directory where you installed Installation Manager.
      For example, C:\Program Files\IBM\Installation Manager\eclipse.
    3. Run the IBM Installation Manager by using one of the following commands 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.
      • With installing the product:
        IBMIM –record response_file_path.txt
        
        For example, IBMIM –record C:\test\installresponse.txt.
      • Without installing the product:
        IBMIM –record response_file_path.txt -skipInstall agent_data_location 
        • agent_data_location must be a temporary writable directory, such as C:\temp_agent_data.
        For example, IBMIM –record C:\test\installresponse.txt -skipInstall C:\temp_agent_data
      The Installation Manager starts.
    4. Complete the steps as if you were going to install WebSphere Commerce Developer by using the interactive method.
      For more information, see Installing WebSphere Commerce Developer using the IBM Installation Manager. Every option that you choose in the Installation Manager is recorded into the response file.
      Remember: Ensure that you set the repository preferences to the location of the WebSphere Commerce Developer installation image during the recording of the response file.
    5. Click Finish, and then close Installation Manager to save and finalize the response file.
  3. Optional: Open the response file that you created, response_file_path, in a text editor.
  4. Optional: Modify the entries in the response file to match the installation options you want.
  5. Create an uninstallation response file:
    1. On a command line, navigate to the eclipse subdirectory in the directory where you installed Installation Manager.
    2. Run the IBM Installation Manager in recording mode
      IBMIM –record response_file_path -skipInstall agent_data_location 
      Where:
      response_file_path
      An existing file path. Do not use the same file name as the response_file_path name you recorded for the installation.
      agent_data_location
      The same location as the agent_data_location that you used for simulating the installation.
      Installation Manager does not create directories for the response file and the log file.
    3. Record the uninstall of the product using the Installation Manager interface that opens.
  6. On a command line, run the following command to uninstall the toolkit silently:
    • For Installation Manager 1.4.3 or higher:
      1. Go to the eclipse/tools subdirectory of Installation Manager
      2. Run IMCL.exe -input response_file_path.txt -log log_file_path -acceptLicense
      3. Add the -sP parameter to obtain more installation progress information
    • For Installation Manager 1.4.2 or lower:
      1. Go to the eclipse subdirectory of Installation Manager
      2. Run IBMIMc.exe -–launcher.ini silent-install.ini -input response_file_path.txt -log log_file_path