InstallAware for Windows Installer
 

Apply Patch

This command applies a patch to a product that has been previously installed on the target system. This command is valid only when the Windows Installer engine is active and is not supported by the Native Engine.

This command must be used in conjunction with Patch Builds. A patch build scans the Patch References that have been added to your project, and generates differential patch data based on the delta of that scan. This data is then used by the Apply Patch command. If you attempt to use the Apply Patch command outside of a Patch Build, the command will fail as the required differential patch data will be missing.

Return Success State in Variable

This variable holds the result of the installation action. The following values are returned:

Value Meaning
CANCEL Installation was cancelled by the user.
COMPLETE Installation was completed successfully.
ERROR An error occured during installation. The error description is available in the LASTERROR variable.
REBOOT Installation was completed successfully, however a reboot is required.

 Notes

  • In wizard generated installs, the SUCCESS variable is used to hold the outcome of this command.