InstallShield 2016 » Automation Interface
Project • This information applies to the following project types:
• | Basic MSI |
• | InstallScript MSI |
The BuildPCPFile method builds a patch package (.msp) file based on the settings in a patch creation properties (.pcp) file.
You do not need to have a project open in order to create a patch.
Syntax
BuildPCPFile (strPCPFile As String, strPatchFile As String, strLogFile As String, bCreateUpdateExe As Boolean) As Long
Parameters
Parameter |
Description |
strPCPFile |
Specify the fully qualified path to a .pcp file. You can create or modify a .pcp file through the Patch Design view. |
strPatchFile |
Specify the fully qualified path for the .msp file you want to create. Any existing file with this name is overwritten. The file cannot be created if the directory you provided does not exist. |
strLogFile |
Specify the fully qualified path to the .log file that records this method's status and success in creating the patch package. If the file exists, the current status is appended to it. |
bCreateUpdateExe |
Set this option to True to have the package wrapped in an executable that applies the patch. |
Return Values
BuildPCPFile() returns the result returned by the Windows Installer function UiCreatePatchPackage.
The BuildPCPFile method builds a patch package (.msp) file based on the settings in a patch creation properties (.pcp) file.
You do not need to have a project open in order to create a patch.
Applies To
• | ISWiProject |
InstallShield 2016 Help LibraryAugust 2016 |
Copyright Information | Flexera Software |