Previous Topic: pifself - Generate a Self-Installing PIF ProductNext Topic: pifdelta - Create a Delta Product


pifextract - Extract a PIF Product

To modify an already built PIF product, for example, change its product definition, and add, modify, or remove files, you can use the pifextract command. After modification, the product can be rebuilt using the pifmk command.

The pifextract command extracts an already built PIF product, or parts of this PIF product to a specified destination directory. The destination directory either must not exist or must be empty. Sufficient free disk space is required to extract the product. The prototype file is also added to the destination directory.

This command has the following format:

pifextract  ­f  PIFfile ­d proddir [­l localeID ­L newlocaleID] [­p] 
		[-t tracefile]
-f PIFfile

Specifies the name of the PIF product file.

-d proddir

Specifies the name of the destination directory where the PIF product is extracted. The directory must not exist or must not contain any files.

-l localeID

Specifies a three-character language identifier. According to the specified language identifier, only the language-specific parts of the PIF product are extracted.

-L newlocaleID

Specifies a three-character language identifier, which determines the desired new language.

-p

Extracts all dialog-relevant sections and the pre-install components into a temporary folder, and the PIF product is built. The new PIF product is stored in the current working directory. The name of the new product is prodname.platform.@prf.

-t tracefile

Traces the command execution in the specified trace file.

Exit status:

Displays the status of the command execution. The value zero (0) means OK, any non-zero value indicates Error.

Example: Extract a PIF product

The following command extracts the PIF product test-pif.AIX.@pif into the directory /tmp/extractdir:

pifextract -f test-pif.AIX.@pif -d /tmp/extractdir