WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Uninstalling WebSphere Portal Express using a response file

WebSphere Portal Express can also be uninstalled from a command line through the use of a response file. When uninstalling with a response file, the uninstallation program can retrieve information from the response file that would otherwise be entered during the uninstallation. Uninstalling from a command line with a response file is well suited to situations where the use of a graphical uninstallation program is impractical or not required or where you want to uninstall WebSphere Portal Express on multiple machines with a similar setup.

Use the following steps to launch the uninstallation program using a response file:

Multiple uninstallations are not supported. You should only perform one uninstallation at a time.

  1. To run the uninstallation program with a response file, enter the following command from the portal_server_root/uninstall directory:

    • Linux:

      ./uninstall.sh -options path_to_file/response_filename

    • Windows:

      uninstall.bat -options "path_to_file\response_filename"

    where path_to_file is the full path to the response file containing the values that you want to use during the uninstallation and response_filename is the name of the file.

    Quotation marks are required around a Windows file name if there are spaces in the directory path or file name. The following is a command example for each operating system:

    • Linux:

      ./uninstall.sh -options /usr/WebSphere/PortalServer/uninstallresponse.txt

    • Windows:

      uninstall.bat -options "C:\Program Files\WebSphere\PortalServer\uninstallresponse.txt"

    A sample response file (uninstallresponse.txt) file is located in the root directory of the setup CD. View the sample response file for a list of parameters.

  2. Use the parameters in the Command line and response file parameters section when issuing the uninstall command.

 

Parent topic:

Uninstalling WebSphere Portal Express