InstallShield 2019 » Automation Interface
Project • This information applies to the following project types:
• | Basic MSI |
• | InstallScript MSI |
Call BuildPatchConfiguration to build the patch configuration identified by the strPatchConfiguration parameter. This action has the same effect as right-clicking on a patch configuration in the Patch Design view and then selecting Build a Patch.
Syntax
BuildPatchConfiguration (strPatchConfigName as string)
Parameters
Parameter |
Description |
strPatchConfigName |
Enter the fully qualified path to your project. |
Properties
Property |
Description |
PatchConfigErrorCount |
Include the error count associated with a particular build. |
PatchConfigWarningCount |
Include the warning count associated with a particular build. |
Example
The following Visual Basic lines demonstrate this method:
'Create the project object
dim pProject
set pProject = CreateObject("IswiAutoAutomation Interface Version.ISWiProject")
'Call the OpenProject method
'####################################################################
'# THIS SAMPLE WILL NOT EXECUTE PROPERLY WITHOUT A VALID PROJECT PATH
'####################################################################
'pProject.OpenProject("\Your project.ism")
pProject.OpenProject("C:\Documents and Settings\Testlab\My Documents\MySetups\your project name-21.ism")
'Call the OpenProject method
'################################################################################
'# THIS SAMPLE WILL NOT EXECUTE PROPERLY WITHOUT A VALID PATCH CONFIGURATION NAME
'################################################################################
pProject.BuildPatchConfiguration "Config1"
MsgBox "Patch Congifuration Config1 build with " & _
pProject.PatchConfigErrorCount & " Errors and " & _
pProject.PatchConfigWarningCount & " Warnings"
Applies To
• | ISWiProject |
InstallShield 2019 Help LibraryApril 2019 |
Copyright Information | Flexera |