Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Client applications > Develop client applications > Install, updating, rolling back, and uninstalling the Application Client for IBM WAS


Uninstall the Application Client using response files

We can uninstall the Application Client using Installation Manager response files.

Optional: Perform or record the installation of Installation Manager and installation of the Application Client to a temporary installation registry on one of the systems so that you can use this temporary registry to record the uninstallation without using the standard registry where Installation Manager is installed.

Read Install the Application Client using response files for more information:

Use Installation Manager, you can work with response files to uninstall the Application Client in a variety of ways. You can record a response file using the GUI as described in the following procedure, or you can generate a new response file by hand or by taking an example and modifying it.


Procedure

  1. Stop all servers and applications on the Application Client installation that contains the product.

  2. Optional: Record a response file to uninstall the Application Client: On one of the systems, perform the following actions to record a response file that will uninstall the Application Client:

    1. From a command line, change to the eclipse subdirectory in the directory where you installed Installation Manager.

    2. Start Installation Manager from the command line using the -record option.

      For example:

      • (Windows) Administrator or non-administrator:
        IBMIM.exe -skipInstall "C:\temp\imRegistry"
          -record C:\temp\uninstall_response_file.xml
        
      • (AIX) (Solaris) Administrator:
        ./IBMIM -skipInstall /var/temp/imRegistry
          -record /var/temp/uninstall_response_file.xml
        
      • (AIX) (Solaris) Non-administrator:
        ./IBMIM -skipInstall user_home/var/temp/imRegistry
          -record user_home/var/temp/uninstall_response_file.xml
        

      Tip: If you choose to use the -skipInstall parameter with a temporary installation registry created as described in "Before you begin," Installation Manager uses the temporary installation registry while recording the response file. It is important to note that when the -skipInstall parameter is specified, no packages are installed or uninstalled. All of the actions that you perform in Installation Manager simply update the installation data stored in the specified temporary registry. After the response file is generated, it can be used to uninstall the Application Client, removing the Application Client files and updating the standard installation registry.

      The -skipInstall operation should not be used on the actual agent data location used by Installation Manager. This is unsupported. Use a clean writable location, and re-use that location for future recording sessions.

      For more information, read the IBM Installation Manager v1.4 Information Center.

    3. Click Uninstall.

    4. In the Uninstall Packages window, perform the following actions.

      1. Select Application Client for IBM WAS and the appropriate version.

        New feature: New feature: If you are uninstalling the ILAN version of this product, select Application Client for IBM WAS (ILAN).New feature:

      2. Click Next.

    5. Review the summary information.

    6. Click Uninstall.

      • If the uninstallation is successful, the program displays a message that indicates success.

      • If the uninstallation is not successful, click View log to troubleshoot the problem.

    7. Click Finish.

    8. Click File > Exit to close Installation Manager.

  3. Use the response file to uninstall the Application Client: From a command line on each of the systems from which to uninstall the Application Client, change to the eclipse/tools subdirectory in the directory where you installed Installation Manager and use the response file that you created to uninstall the Application Client.

    For example:

    • (Windows) Administrator or non-administrator:
      imcl.exe
        input C:\temp\uninstall_response_file.xml
        -log C:\temp\uninstall_log.xml
      
    • (AIX) (Solaris) Administrator:
      ./imcl
        input /var/temp/uninstall_response_file.xml
        -log /var/temp/uninstall_log.xml
      
    • (AIX) (Solaris) Non-administrator:
      ./imcl
        input user_home/var/temp/uninstall_response_file.xml
        -log user_home/var/temp/uninstall_log.xml
      

    Go to the IBM Installation Manager v1.4 Information Center for more information.

  4. Optional: List all installed packages to verify the uninstallation.

    (AIX) (Solaris)

    ./imcl listInstalledPackages
    
    (Windows)
    imcl listInstalledPackages
    

  5. Optional: Uninstall IBM Installation Manager.

    Before you can uninstall IBM Installation Manager, uninstall all of the packages that were installed by Installation Manager.

    Read the IBM Installation Manager v1.4 Information Center for information about using the uninstall script to perform this procedure.


Example (Windows)

The following is an example of a response file for uninstalling the Application Client:

<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean='true' temporary='true'>
<server>
<repository location="http://www.ibm.com/software/repositorymanager/com.ibm.websphere.APPCLIENT.v80" />
</server>
<uninstall modify='false'>
<offering id='com.ibm.websphere.APPCLIENT.v80'
  profile='Application Client for IBM WAS V8.0'
  features='javaee.thinclient.core.feature,javaruntime,developerkit,samples,standalonethinclient.resourceadapter.runtime,embeddablecontainer'/>
</uninstall>
<profile id='Application Client for IBM WAS V8.0'
  installLocation='C:\IBM\WebSphere\AppClient'>
<data key='eclipseLocation' value='C:\IBM\WebSphere\AppClient'/>
<data key='user.import.profile' value='false'/>
<data key='user.select.64bit.image,com.ibm.websphere.APPCLIENT.v80' value='false'/>
<data key='user.appclient.serverHostname' value='localhost'/>
<data key='user.appclient.serverPort' value='2809'/>
<data key='cic.selector.nl' value='en'/>
</profile>
</agent-input> 

Tip: See Sample response file: Uninstalling the Application Client for IBM WAS for an annotated sample of a response file for performing this procedure.
Install, updating, rolling back, and uninstalling the Application Client for IBM WAS
Install the Application Client using the GUI
Install the Application Client using response files
Install and uninstall features in the Application Client
Install fix packs on the Application Client using the GUI
Uninstall fix packs from the Application Client using the GUI
Uninstall the Application Client using the GUI

+

Search Tips   |   Advanced Search