Operating Systems: i5/OS
Personalize the table of contents and search results
install.txt
The Update Installer for WebSphere Software can use an options response file to install maintenance
packages from a command line interface.
The Update Installer for WebSphere Software wizard reads the options file to determine
installation choices. The Update Installer installs the maintenance package
in silent mode.
Location of the response file
The sample options response file is
named install.txt. The file is in the updi_root/responsefiles directory after you apply the latest WebSphere Application Server for i5/OS
group PTF or after you install the Update Installer for WebSphere Software.
Installing silently
The options file supplies the values to the Update installer wizard.
The following command uses a copy of the options file
named myresponsefile.txt to provide installation option
responses during a silent installation:
update -options responsefiles/myresponsefile.txt
There
is no need to specify the -silent parameter as it is already defined in the
update script.
Response file user entry validation
In a silent installation, response file validation is coded into the installation.
If the validation does not pass, the failure is recorded in the log files
in the app_server_root/logs/update/tmp directory.
- Location of the maintenance package to be installed
-
- Default directive setting
-
-W maintenance.package=""
- Valid setting
-
You might set this directive to the location of the
maintenance package PAK file. If you do not specify a value for this setting,
the default is the maintenance package located under updi_root/maintenance
that has the most recent time stamp. For example, you might specify the following
location if you are installing the iFix for APAR PQ20029.:
/qibm/proddata/WebSphere/AppServer/updateinstaller/maintenance/PQ20029.pak
- Error identifiers:
-
- Maintenance package maintenance_package_name is already
installed on the system.
- Selected product is not supported.
- Configuration failed. The config action that failed was: configuration_action.
- Install the following prerequisite APARs before installing the current
maintenance to the target product: list_ of_ prerequisite_ maintenance_
packages_ to_ install
- Install the following prerequisite maintenance packages before installing
the package you are currently attempting to install: list_ of_ prerequisite_
maintenance_ packages_ to_ install
- Uninstall the following APARs before applying the current maintenance
to the target product: list_ of_ prerequisite_ maintenance_ packages_
to_ uninstall
- Uninstall the following maintenance packages before applying the current
maintenance to the target product: list_ of_ prerequisite_ maintenance_
packages_ to_ uninstall
- Unable to locate the correct version of the_update_installer.
Looking for version version_identifier.
- Maintenance_package is not a valid maintenance package.
- Product location
-
- Default directive setting
-
-W product.location="SPECIFY_PRODUCT_INSTALL_LOCATION_HERE"
- Valid setting
-
Set this directive to the installation root directory
of the product you want to update. For example, you might specify the following
location:
/qibm/proddata/WebSphere/AppServer2
- Error identifiers:
-
- Maintenance package maintenance_package_name is already
installed on the system.
- Selected product is not supported.
- Configuration failed. The config action that failed was: configuration_action.
- Install the following prerequisite APARs before installing the current
maintenance to the target product: list_ of_ prerequisite_ maintenance_
packages_ to_ install
- Install the following prerequisite maintenance packages before installing
the package you are currently attempting to install: list_ of_ prerequisite_
maintenance_ packages_ to_ install
- Uninstall the following APARs before applying the current maintenance
to the target product: list_ of_ prerequisite_ maintenance_ packages_
to_ uninstall
- Uninstall the following maintenance packages before applying the current
maintenance to the target product: list_ of_ prerequisite_ maintenance_
packages_ to_ uninstall
- Unable to locate the correct version of the_update_installer.
Looking for version version_identifier.
- Maintenance_package is not a valid maintenance package.
- Alternate_product_directory could not be validated
as an existing directory.
Usage notes
- The file is not a read-only file.
- Edit this file directly with your flat file editor
of choice, such as EDTF or WRKLNK on i5/OS or WordPad if you are editing from
a mapped drive on a Windows platform.
- The file must exist to perform a silent installation.
The Update installer wizard reads this file to determine installation parameters.
- Save the copy of the options file in the responsefiles directory
for best results.
Example install.txt file
The following example is not guaranteed to be an accurate
representation of the actual file.
################################################################################
#
# This is the silent install response file for installing 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/install.txt
#
# Please enclose all values within a single pair of double quotes.
#
################################################################################
################################################################################
#
# Used to input the maintenance package full filename specification to be installed.
# Edit as appropriate.
#
# ie. -W maintenance.package="/qibm/proddata/WebSphere/AppServer/updateinstaller/maintenance/PQ20029.pak
"
#
#
Note: If no package is specified, a default of the last downloaded maintenance
# package will be used (based on timestamp).
#
#-W maintenance.package=""
################################################################################
#
# Used to input the product install location that will be updated.
#
# ie. -W product.location="/qibm/proddata/WebSphere/AppServer"
#
#
Note: The product install location should always been specified, and it should
# always be the full path.
#
-W product.location=""
################################################################################
#
# Do not edit these values.
#
-W update.type="install"
Related information
Installing maintenance packages
Reference topic