updateSilent examples for interim fixes
The updateSilent command is the silent, command-line interface for the update installer program. This topic describes using the wizard to work with interim fixes.
The update installer program installs interim fixes, cumulative fixes, and fix packs to WebSphere Application Server products.
Three different Web sites contain interim fixes for WebSphere Application Server products and features. Three sites exist because two of the features of the base product have their own service and support sites.
You cannot install or uninstall interim fixes for either of the two features using the update installer program for WebSphere Application Server. See the following tips for more information:
Installation tip
Operating platform Tip in All platforms
You must use the update installer program to install cumulative fixes and fix packs for the two features. See updateSilent examples for cumulative fixes and fix packs for more information about using the update installer program to install cumulative fixes and fix packs.
Syntax examples
The updateSilent interface actually provides two functions. Depending upon the parameters you choose, the command performs the following functions:
- Installs and uninstalls interim fixes, cumulative fixes, and fix packs
- Provides information about the update state of fixes and fix packs that you install or uninstall
The following examples describe various usage syntaxes. In each syntax example, optional parameters are enclosed by brackets ([]). Values that supply appear in italicized font. Choices are denoted by the pipe symbol (|).
Help
updateSilent -help | -? | -usage updateSilent /help | /? | -usage (Windows platforms)
Syntax for using a properties file to supply values
updateSilent myProps.properties
Syntax for processing interim fixes
updateSilent -installDir "fully qualified product install_root" -fix -fixDir "fully qualified interim fix repository root, usually install_root/update/fixes" -install | -uninstall | uninstallAll -fixes space-delimited list of fixes -fixJars space-delimited list of interim fix JAR files [-fixDetails] [-prereqOverride]
Syntax for viewing installed interim fixes
updateSilent -fix -installDir "fully qualified product install_root"
Syntax for viewing available interim fixes
updateSilent -fix -installDir "fully qualified product install_root" -fixDir "fully qualified interim fix repository root, usually install_root/update/fixes"
Parameters
Use the following parameters for the updateSilent command:
- -?
- Shows command usage.
- /?
- Shows command usage on Windows platforms only.
- -fix
- Interim fix only: Identifies the update as an interim fix update.
- -fixDetails
- Interim fix only: Displays interim fix detail information.
- -fixDir
- Interim fix only: Specifies the fully qualified directory where you download fixes. This directory is usually the install_root/update/fixes directory.
- -fixes
- Interim fix only: Specifies a list of space-delimited fixes to install or uninstall. Specify either the fixJars parameter or this parameter.
- -fixJars
- Interim fix only: Specifies a list of space-delimited interim fix JAR files to install or uninstall. Each JAR file has one or more fixes. Specify either the fixes parameter or this parameter.
- -help
- Shows command usage.
- /help
- Shows command usage on Windows platforms only.
- -install
- Installs the update type.
- -installDir
- Specifies the fully qualified installation root of the WebSphere Application Server product.
- -prereqOverride
- Interim fix only: Overrides any installation and uninstallation prerequisite checking. The update installer program does not log missing prerequisites.
- <propertyFile>.properties
- Specifies an externally supplied parameters file.
You can supply parameters in an external .properties file, rather than directly on the command line. There are some differences in the formats of parameters:
You can use the .properties file as a template.
- You must include all parameters.
- Parameters are [name]=[value] pairs.
- Lists of parameter values are comma-delimited instead of space-delimited.
- There are two slashes before directory names.
For example, a sample.properties file for installing two fixes might look like this:
#Sample.properties #Sample parameters file to install fixes with details and prerequisite override fix=true install=true installDir=C:\\WebSphere\\AppServer fixDir=C:\\WebSphere\\AppServer\\update\\fixes fixes=Fix1,Fix2 fixDetails=true prereqOverride=true
- -uninstall
- Uninstalls the identified interim fix, cumulative fix, or fix pack. You must uninstall all interim fixes, cumulative fixes, and fix packs before uninstalling a WebSphere Application Server product. However, if you are manually uninstalling all WebSphere Application Server products from the machine, it is not necessary to uninstall all interim fixes, cumulative fixes or fix packs. See Uninstalling manually for more information.
- -uninstallAll
- Uninstalls all applied interim fixes. This parameter does not uninstall fix packs.
If you installed interim fixes from the WebSphere MQ Web site, use the uninstaller from WebSphere MQ to uninstall interim fixes for the embedded messaging feature. For more information about managing interim fixes for the embedded messaging feature, see the WebSphere MQ Service download site .
If you installed interim fixes from the IBM HTTP Server Web site, use the uninstaller from IBM HTTP Server to uninstall interim fixes for the IBM HTTP Server feature. For more information about managing interim fixes for IBM HTTP Server, see the IBM Support site for IBM HTTP Server .
- -usage
- Shows command usage.
Examples overview
The following examples assume that:
Examples in this section include:
- The installation root is the C:\WebSphere\AppServer directory.
- The location of the IBM HTTP Server feature is the C:\Program Files\IBMHttpServer directory.
- The interim fix repository is the C:\WebSphere\AppServer\update\fixes directory.
- The cumulative fix and fix pack repository is the C:\WebSphere\AppServer\update\fixpacks directory.
Most of the examples are split into more than one line, for ease of publication.
- Getting help for the command
- Using a parameter properties file
- Installing interim fixes
- Uninstalling interim fixes
- Viewing information about interim fixes
Getting help for the command
To get help for the updateSilent command:
C:\WebSphere\AppServer\update> updateSilent -helpUsing a parameter properties file
To use the myProps.properties file to supply parameter values for the updateSilent command:
C:\WebSphere\AppServer\update> updateSilent myProps.propertiesInstalling interim fixes
To install a collection of interim fixes:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixes Fix1 Fix2
It is not possible to install interim fixes for these features:
For more information about managing interim fixes for IBM HTTP Server, see the IBM Support site for IBM HTTP Server . For more information about managing interim fixes for the embedded messaging feature, see the WebSphere MQ Service download site .
- IBM HTTP Server feature
- Embedded messaging feature
To install a collection of interim fixes, and display interim fix details:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixes Fix1 Fix2 -fixDetails
To install a collection of interim fixes, and override prerequisite checking:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixes Fix1 Fix2 -prereqOverride
To install interim fixes from a Java archive (JAR) file:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixJar Fix1
To install interim fixes from a Java archive (JAR) file, and display interim fix details:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixJar Fix1 -fixDetails
To install interim fixes from a Java archive (JAR) file:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -install -fixJar Fix1 -fixDetailsUninstalling interim fixes
To uninstall a collection of interim fixes:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixes Fix1 Fix2
It is not possible to uninstall interim fixes for these features:
For more information about managing interim fixes for IBM HTTP Server, see the IBM Support site for IBM HTTP Server. For more information about managing interim fixes for the embedded messaging feature, see the WebSphere MQ Service download site.
- IBM HTTP Server feature
- Embedded messaging feature
To uninstall a collection of interim fixes, and display details:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixes Fix1 Fix2 -fixDetails
To uninstall a collection of interim fixes, and override prerequisite checking:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixes Fix1 Fix2 -prereqOverride
To uninstall interim fixes in a Java archive (JAR) file:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixJar Fix1
To uninstall interim fixes in a Java archive (JAR) file, and display details:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixJar Fix1 -fixDetails
To uninstall interim fixes in a Java archive (JAR) file:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes" -uninstall -fixJar Fix1 -fixDetailsViewing information about interim fixes
To view a list of installed interim fixes:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer"
To view a list of interim fixes that are available in the repository:
C:\WebSphere\AppServer\update> updateSilent -fix -installDir "C:\WebSphere\AppServer" -fixDir "C:\WebSphere\AppServer\update\fixes"
It is not possible to view information about interim fixes for the IBM HTTP Server feature or the embedded messaging feature. For more information about managing interim fixes for IBM HTTP Server, see the IBM Support site for IBM HTTP Server. For more information about managing interim fixes for the embedded messaging feature, see the WebSphere MQ Service download site.
updateSilent command
updateWizard examples for interim fixes