Previous Topic: lsm—Manage Software Installations on Linux and UNIX SystemsNext Topic: Supported Linux and UNIX Operating Environments


Install a Self-Installing PIF Product

A self-installing PIF product is executed as a shell script. The command options specify how to install the PIF product on the target computer or that only a response file is created.

This command has the following format:

sh selfinstallingfile [-t tracefile] [-p logfile] [-r responsefile] 
[-s] [-F] [-x] [-a newresponsefile] [-v] [-I instance name] [-V] [-o] [-M textID]
selfinstallingfile

Name of the self-installing PIF product, as defined, for example, through the pifself command.

-t tracefile

Traces the installation in the specified trace file.

-p logfile

Logs the installation in the specified log file.

-r responsefile

Installs the product using the specified response file.

-s

Installs the product in unattended (silent) mode using default parameter values.

-F

Forces the product installation. Backup errors are ignored.

-x

Only extracts the product to the /tmp directory. The file name used for the extracted product is internally defined and echoed to the command line.

-a newresponsefile

Creates only a response file with the specified name. This response file can be used for a later installation of the PIF product.

-v

Lists the version of the installer included.

-I instance name

Specifies the name of a new product instance (for multi instance installation).

-V

Enforces VT100 dialogs.

-o

Overwrites existing response during response file generation (-a).

-M textID1[-textID2] -f prototypefile

Refers to a single text (specified by textID1) or a range of texts (specified by textID1-textID2) in the resource section of the specified PIF product prototype file. Each script of a PIF product can use this command option in order to print localized texts.

Example: Execute a self-installing PIF product and record trace information

The following command executes the self-installing PIF product test-pif.AIX.sh and installs the corresponding PIF product in unattended (silent) mode. Trace information is written to the specified trace file test-pif.AIX_tracef in the mytemp folder:

sh test-pif.AIX.sh -s -t /mytemp/test-pif.AIX_tracef