The pifdelta command compares the contents of two versions of the same PIF product, priorversionPIF and resultingversionPIF, and writes the differences into the output file deltaPIF.
The deltaPIF is a small installable unit in the PIF packaging format. Instead of installing the complete PIF product resultingversionPIF, you can install the small deltaPIF unit on all target computers where the PIF product priorversionPIF is already installed. For example, deltaPIF contains uninstall instructions for files in the priorversionPIF that are not used in resultingversionPIF. The deltaPIF also contains all changed and new files from resultingversionPIF.
This command has the following format:
pifdelta p priorversionPIF v resultingversionPIF d deltaPIF [o] [-t tracefile]
Specifies the absolute path name of a file containing a PIF product. This product is to be replaced by the new version resultingversionPIF of the same PIF product.
Specifies the absolute path name of a file containing a version of the PIF product, which is different from priorversionPIF and shall replace priorversionPIF.
Specifies the absolute path name of the output file. This file is an installable unit in the PIF packaging format, and contains only the files that differ between priorversionPIF and resultingversionPIF.
We recommend using the naming convention for the delta product file name as used by the Packager GUI:
prodname.platform.priorversion-resultingversion.@pif
In this file name, prodname is the common product name and priorversion and resultingversion are the version numbers of priorversionPIF and resultingversionPIF, for example:
MERCHANT.Any.2.1.0.0-3.0.0.0.@pif
Specifies overwrite. If an item with the same name already exists in the destination directory, it is overwritten.
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: Create a delta product from two product versions
The following command compares the versions of the PIF product MERCHANT located in the subdirectories called 2100 and 3000 of the product installation directory and creates the PIF delta product containing only the differences between the product versions 2.1.0.0 and 3.0.0.0 in the subdirectory called deltas.
pifdelta -p $PATHmerchant\2100\MERCHANT.Any.@pif
-v $PATHmerchant\3000\MERCHANT.Any.@pif -d $PATHmerchant\deltas\MERCHANT.Any.2.1.0.0-3.0.0.0.@pif
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|