Uninstalling silently

Always use the uninstall wizard to remove this product, do not use the native uninstallation program.

You can remove WebSphere Message Broker without user interaction. This process is called unattended (or silent) removal. You can use a response file whilst uninstalling silently, this is a text file that contains values for the options you select when you uninstall WebSphere Message Broker. For further information see Using response files.

Note:

This task describes how to run the uninstallation program in silent mode without a response file. If you do so, the program assumes all the default values.

  1. Stop all running processes that use any part of WebSphere Message Broker (brokers, Configuration Manager, and the User Name Server) before uninstalling. Use the mqsilist (list resources) command to check which components are running. Stop each component using the mqsistop command.
  2. On Windows and Linux (x86 platform) end any active sessions of the Message Brokers Toolkit.
  3. If you do not plan to reinstall on this computer, delete all of the runtime components. When you delete a component, all its associated data and resources are deleted. Use the following commands to do this: mqsideletebroker command, mqsideleteconfigmgr command, and mqsideleteusernameserver command.
  4. Run the uninstallation program using one of the commands below:
    • On Windows, run the command from inside the installation directory.
      start /w uninstaller
    • On Linux and UNIX, run the command from outside the installation directory to ensure that the folders will be removed during uninstallation.
      /install_dir/_uninst_runtime/uninstaller -silent
    Where install_dir is the home directory of your WebSphere Message Broker installation. If you accepted the default location during installation, this directory will be as follows:
    • On Windows, C:\Program Files\IBM\MQSI\6.0
    • On AIX, HP-UX and Solaris, /opt/IBM/mqsi/6.0
    • On Linux, /opt/ibm/mqsi/6.0
    The uninstallation program runs without interaction.
Related tasks
Uninstalling the full product
Uninstalling in console mode
Related reference
mqsideletebroker command
mqsideleteusernameserver command
mqsilist (list resources) command
mqsistop command