Uninstalling WebSphere Commerce Developer feature packs silently

You can uninstall a WebSphere Commerce Developer feature pack using the silent method, which uses a command line; no graphical interface is required.

Before you begin

If you enabled any features that are included in the WebSphere Commerce feature pack, you must take one of the following actions:
  • If you are want to keep your workspace, your database configuration, or your data as they are, disable each feature individually before you uninstall the feature pack. To disable the features included in the feature pack, see Disabling features.
  • If you want to create a new environment, you can restore the development environment to the default setup. If you restore the development environment to the default setup, your workspace is deleted and replaced. All code and customizations are removed. The database configuration is set to use the Cloudscape or Derby database. Any existing Cloudscape or Derby database is deleted and replaced with the default database that is provided with WebSphere Commerce Developer.
Ensure that you have the appropriate privileges:
  • WindowsLog on to a user that has Windows Administrative user rights.

Procedure

  1. Copy the contents of the following directory:
    • For Windows XPFor Windows 2003drive:\Documents and Settings\All Users\Application Data\IBM\Installation Manager
    • For Windows VistaFor Windows 2008For Windows 7drive:\ProgramData\IBM\Installation Manager
      Note: If the path names are too long, you might need to use the XCOPY command to copy the files.
    to a temporary, writeable directory, the agent_data_location.

    This variable agent_data_location (for example, c:\temp_agent_data) is used by the Installation Manager to read and write information about the installation you are recording. In order 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.
  3. On a command line, open IBM Installation Manager using one of the following commands to create a response file
    To create a response file and uninstall the product:
    IBMIM –record response_file_path
    
    To create a response file without uninstalling the product:
    IBMIM –record response_file_path -skipInstall agent_data_location 
    • skipInstall causes the Installation Manager to save the installation data without installing the product.
    • agent_data_location must be a temporary writable directory, such as c:\temp_agent_data.
    Note: Ensure that the file paths you enter exist; Installation Manager does not create directories for the response file and the log file.
  4. Follow the steps in the UI to uninstall only the feature pack product.
  5. Click Finish, then close Installation Manager.
  6. Optional: In a text editor, open the response file that you created.
  7. Optional: Modify the entries in the response file to match the uninstall options you want.
  8. On the command line, run the following command to start the silent uninstall process:
    • 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
    where
    • response_file_path is the full path of the response file
    • log_file_path is the full path of log file, for example c:\logs\fep_install.log. The full path must exist.
  9. Optional: Review the Installation Manager log files for any important information or errors.
    The timestamped logs can be found in the following default locations:
    • drive:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs
    • drive:\ProgramData\IBM\Installation Manager\logs
    Alternatively, you can view the logs in the Installation Manager interface under File > View Log