Silently uninstalling fix packs, interim fixes, or test fixes

Use a response file to uninstall maintenance silently.

Before you begin

About this task

Refer to the example response file, located at the bottom of this topic, for more details.

Follow these steps to uninstall maintenance silently:

Procedure

  1. Edit a response file. Use the sample response file at the bottom of the pane as an example.
  2. Specify the location of the product that will be uninstalled in the response file.
  3. Specify the choice of Uninstall maintenance in the response file.
  4. Specify the maintenance pack to be uninstalled in the response file.
    This is the same filename as the package that was originally installed. A maintenance package can only be uninstalled if a backup package exists, such as, -W backup.package="PQ20029.pak"
    Note: The commands for installing and uninstalling maintenance silently are different. Installation requires specifying the maintenance package using maintenance.package and uninstallation requires backup.package

    For example:

    • Install maintenance silently: update.bat -W maintenance.package="e: \IBM\WebSphere\AppServer \updateinstaller\maintenance\ PQ20029.pak" -silent
    • Uninstall maintenance silently: update.bat -W backup.package="PQ20029.pak" -W update.type="uninstall" -silent

    If no package is specified, a default of the last installed maintenance (#) package is used.

    To uninstall a maintenance pack using the silent mode, the order of uninstalling needs to be in the reverse order of installing. For example, if you installed maintenance packs A, B, and C in that order, you should uninstall C, B, and then A.

  5. Ensure that all running processes have been stopped.
  6. Verify that the host server jobs are started on your iSeries® server. The host server jobs allow the installation code to run on iSeries. Enter this command on a CL command line: STRHOSTSVR SERVER(*ALL).
  7. Launch the Update Installer and point to a response file.
  8. Review the log file to verify maintenance has been installed successfully. The log can be found at WAS_HOME\logs\update\<Maintenance name.uninstall>.

Results

One of the following results will appear in the log.
INSTCONFSUCCESS
The operation was a success.
INSTCONFPARTIALSUCCESS
The operation was partially successful, refer to the log for more details.
INSTCONFFAILED
The operation failed, refer to the log for more details.

Example

The following response file demonstrates how to uninstall a fix pack silently.

################################################################################
#
# This is the silent install response file for uninstalling maintenance packages
# using the update installer.
# 
# A common use of an options file is to run the wizard in silent mode. This lets
# the options file author specify wizard settings without having to run the
# wizard in graphical or console mode. To use this options file for silent mode
# execution, *uncomment* and modify the parameters defined within.
#
# Use the following command line when running the wizard from the update 
# installer directory:
# 
#    update -options responsefiles/uninstall.txt -silent
#
# Enclose all values within a single pair of double quotes.
#
################################################################################


################################################################################
#
# Used to input the maintenance backup package filename to be uninstalled. 
# This is the same filename as the package that was originally installed.
# A maintenance package can only be uninstalled if a backup package exists.
#
# For example: -W backup.package="PQ20029.pak"
#
# Note: If you do not specify a package, then a default of the last installed maintenance 
#       package is used, as the following example demonstrate:
# 
-W backup.package="6.1.0.1-WEBSV-FEP-WinX32-FP000001.pak"


################################################################################
#
# Used to modify the product install location that will be updated. 
# This value should be left commented out if the Update Installer is 
# being run from the recommended location, as the following example demonstrates:
#
# For example: -W product.location="C:\Program Files\IBM\WebSphere\AppServer"
#
# Note: The product install location needs to be specified, and it needs to 
#       be the full path.
#
-W product.location="D:\IBM\WebSphere\AppServerNonroot3"


################################################################################

# File Permission Checking
#
# The installer does not check that it has sufficient file permissions to
# perform the installation by default.
#
# Uncomment the following option to notify the installer that it should
# check that it has sufficient file permissions to perform the required
# install operation on each file to be installed.
#
# This option is not applicable for Windows.
#
# -OPT checkFilePermissions="true"
#
############################################################################### 
#
# AIX Non-root user limitation
#
# The AIX user account running the Update Installer program also must be able to 
# run the slibclean command; otherwise, a root user must run the slibclean command
# before the Update Installer program runs. 
#
# Uncomment the following option to notify the installer that a root user has run
# the slibclean command before the Update Installer program runs.
#
#-OPT rootUserHasRunSlibcleanCommandSuccessfully="true"


################################################################################
#
# Do not edit these values.
#
-W update.type="uninstall"



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 2:38:31 AM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-iseries&topic=tins_updi_unsilfixpk
File name: tins_updi_unsilfixpk.html