Uninstalling the product across the enterprise

Use the IM_response_uninstall.bat and IM_run_silent_uninstall.bat scripts to uninstall IBM® Data Studio across your enterprise.

Procedure

To uninstall the product across the enterprise:

  1. Optional: Edit the IM_response_uninstall.bat and IM_run_silent_uninstall.bat scripts to change the default parameters for:
    • The location and file names for the generated log and response files
    • The location to store data for the simulated modification
    • The location of IBM Installation Manager, Version 1.5.1, if it is not installed into the default installation directory. On Windows, the default installation directory is C:\Program Files\IBM\Installation Manager
    • The location of the installation files for the product. For example, if the installation files are on a DVD that is in a drive that is mapped to D:, the location is D:\.
    Important: Edit these parameters only if you edited them for the installation batch files. The parameter values must match the values in the installation batch files.
  2. Generate the silent uninstallation response file.
    1. Open a command prompt, change to the media root directory, and run the IM_response_uninstall.bat script. The media root directory is the directory where the massDeployment folder is located. For example, if you extracted the product installation files to C:\installation_files, the media root directory is C:\installation_files\massDeployment. IBM Installation Manager starts.
    2. On the IBM Installation Manager main page, verify that recording is on in the Window title. Then, click Uninstall.
    3. On the Installation Package page, select to uninstall IBM Data Studio. Then, click Next.
    4. On the Summary page, click Uninstall.
    5. When in the uninstallation completes, click Finish.
    6. Close the IBM Installation Manager window.
    The directory is changed to the location of IBM Installation Manager. The simulated uninstallation data is saved in the DS_SILENT_DATA_SAVE directory.
  3. On the base computer, run the silent installation with the silent response file.
    1. Open a command prompt, change the directory to the IBM Installation Manager installation directory, and run the IM_run_silent_uninstall.bat script.
    2. Check the log file for errors. The uninstallation log file, log_DS_uninstall.xml, is in the DS_SILENT_FILES directory.
  4. Run the silent uninstallation on all the other computers in your enterprise on which you want to uninstall IBM Data Studio and IBM Installation Manager.
    1. Copy the following folder and files to the target computers:
      • DS_SILENT_DATA_SAVE folder
      • DS_SILENT_FILES/response_uninstall.xml file
      • IM_run_silent_uninstall.bat script
    2. Open a command prompt.
    3. Change the directory to the IBM Installation Manager installation directory.
    4. Run the IM_run_silent_uninstall.bat script.

Feedback