Previous Topic: piflib - Generate a PIF Library FileNext Topic: sd_registerproduct - Register a PIF Product in the Software Package Library


pifpatch - Generate a Patch Product Automatically

The pifpatch command generates a patch automatically, based on the PIF delta product creation mechanism. The command compares two sets of packages and queries the dependency structure of the main product.

This command has the following format:

Pifpatch -v 
-v

Prints the version of pifmpatch.

Or

pifpatch ­p originalpackage ­f package_with_patch
­d destinationfolder ­I prestart_script
­i postinstall_script ­n anchorpatchPIF ­v version 
[­c comment] [-o] [-t tracefile] [-x]
-p originalpackage

Specifies the absolute path name of the original product package.

-f package_with_patch

Specifies the absolute path name of the package version containing the patch.

-d destinationdirectory

Specifies the name of an empty directory where the package containing the patch is written to.

-I prestartprocedure

Specifies a procedure or script to execute before the patch is installed.

-i postinstallprocedure

Specifies a procedure or script to execute after installation of the patch.

-n anchorpatchPIF

Specifies the name of the patch product.

-v version

Specifies the version number of the patch.

-c comment

Specifies any comment.

-o overwrite

Overwrites the patch.

-t tracefile

Traces the command execution in the specified trace file.

-x extract only

Extracts all necessary files and writes the PIF prototype file, but does not build the package. You can modify the patch package before building it.

Exit status:

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