Like the Installer, the Message Queue Uninstaller can be run in any of three modes of operation:
In GUI (graphical user interface) mode, the Uninstaller presents a series of graphical screens with which you interact using mouse clicks and keyboard text entry.
In silent mode, the Uninstaller operates from a predefined answer file representing your responses to the GUI screens. This allows you to script the uninstallation process in advance and then perform it in batch mode without actually displaying the GUI (or text) screens and responding to them interactively.
The following sections describe each of these three modes of Uninstaller operation.
The Message Queue installation includes several scripts and executables named uninstaller, both in the Installer .zip bundle and on your system after installation. To uninstall Message Queue 4.3, it is important that you run the correct uninstaller executable, located at
mqInstallHome/var/opt/sun/install/contents/mq/uninstaller
where mqInstallHome is the installation home directory you specified when you installed Message Queue (by default, home-dir/Message Queue). Be careful not to invoke some other uninstaller by mistake.
The following procedure shows how to use the Message Queue Uninstaller in GUI mode to uninstall Message Queue 4.3 from your AIX system.
Set your working directory to the directory containing the Uninstaller.
From your system’s command line, enter the command
$ cd mqInstallHome/var/opt/sun/install/contents/mq
Start the Uninstaller.
Enter the command
$ uninstaller
The Uninstaller’s Ready screen (Figure 4–11) appears.
Click the Remove button.
The Uninstaller’s Progress screen (Figure 4–12) appears.
When uninstallation is complete, the Uninstaller’s Summary screen (Figure 4–13) appears, summarizing the steps that were performed during uninstallation. You can click the links on this screen for a detailed summary report and a log file giving more details on the uninstallation.
Click the Exit button to dismiss the Summary screen.
Message Queue uninstallation is now complete.
In silent mode, the Uninstaller operates from a predefined answer file representing your responses to the GUI screens. This allows you to script the uninstallation process in advance and then perform it in batch mode without actually displaying the GUI screens and responding to them interactively. To create an answer file, start the Uninstaller with the -n option:
$ uninstaller -n answerFile
where answerFile identifies the file in which to record your responses. This causes the Uninstaller to execute a “dry run,” presenting the sequence of GUI screens without actually performing the uninstallation. Your input responses are recorded in the specified answer file. You can then perform the uninstallation at a later time by starting the Uninstaller with the -s (“silent”) option, specifying the same answer file:
$ uninstaller -s -a answerFile
This performs a silent uninstallation as defined by the answer file, without visibly displaying the GUI (or text) screens.