Uninstalling PATROL for Citrix XenServer on Windows
The following procedures describe how to uninstall products and all related log files from a Windows environment.
To uninstall individual products
From the Uninstall directory in your BMC Software product installation directory, double-click uninstall.exeto launch the installation utility in uninstall mode.
- On the Welcome page, click Next.
- Select the installation directory from which you want to remove a product, and click Next.
- Select the product or products that you want to uninstall, and click Next.
- Review your selections, and click Uninstall.
After the uninstallation is complete, a window is displayed that tells you whether the uninstallation was successful.
To uninstall all products but leave log files and configuration files
This task describes how to uninstall the PATROL product but retain log files, which contain history for future analysis, and configuration files for redeployment. If you want to retain log and configuration files, record the installation directory where the products that you want to remove reside.
- Uninstall all products as described in To uninstall individual products.
- Locate the uninstall.ctl file in the following directory:
BMCProductsInstallationDirectory\Uninstall\Install\instdata - Open the uninstall.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 2.
- Open a command line prompt.
- Change to the following directory.
BMCProductsInstallationDirectory \Uninstall\Install\ instbin Enter the following command:
thorinst.exe -uninstall <controlfile_path> -log <logfile_path> -output <outputfile_path>
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
---|---|---|
-log | sends the log information to a standard log file This file contains all installation status information. | path to log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
-output | sends the log information to an output log file This file contains all messages about the progress of the installation that are normally sent to standard output. | path to output log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
For example, if C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:
This command removes all installation files and directories except those that are used by the utility at the time the uninstallation was performed. The command also ensures that all log files, configuration files, and user-modified files are retained.
To uninstall all products, associated log files, and configuration files
This task describes how to remove all PATROL products and related log files and configuration files from your Windows environment. After these files have been removed, you cannot recover them unless you have made a backup copy of the installation.
- Uninstall all products as described in To uninstall individual products.
- Locate the uninstall-all.ctl file in the following directory:
BMCProductsInstallationDirectory\Uninstall\Install\instdata - Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 2.
- Open a command line prompt.
- Change to the following directory:
BMCProductsInstallationDirectory\Uninstall\Install\instbin Enter the following command.
thorinst.exe -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
---|---|---|
-log | sends the log information to a standard log file This file contains all installation status information. | path to log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
-output | sends the log information to an output log file This file contains all messages about the progress of the installation that are normally sent to standard output. | path to log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
For example, if C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:
This command removes all installation files and directories. The files used to perform the installation are marked for deletion and are removed when the computer on which the products were uninstalled is rebooted.