IPatchProjectCopy link to this sectionLink to this section copied!

DeclarationCopy link to this sectionLink to this section copied!

IPatchProject : IDispatch

OverviewCopy link to this sectionLink to this section copied!

This interface is meant configure a patch project

PropertiesCopy link to this sectionLink to this section copied!

IPatchDetails PatchDetails - Gets the object for editing patch details.

IPatchControlPanel ControlPanel - Gets the object for configuring patch control panel information.

IDigitalSignature DigitalSignature - Gets the object for configuring patch digital signature.

IPatchImages Images - Gets the object for upgraded images management.

IPatchSequence PatchSequence - Gets the object for managing patch sequence families.

IPatchBuildDetails BuildDetails - Gets the object for configuring the build process of the patch.

MethodsCopy link to this sectionLink to this section copied!

Save() Saves all the changes done to the project. You can use this method if the project has a location on disk, otherwise use SaveAs.

SaveAs(String aFilePath) Saves all the changes done to the project in a specific location on disk.

Build() Builds the project.

ExampleCopy link to this sectionLink to this section copied!

$advinst = new-object -com AdvancedInstaller
$patchPrj = $advinst.LoadProject("C:\patch.aip")
$patchPrj.PatchDetails.IncludeWholeFilesOnly = $true
$patchPrj.PatchDetails.AllowProductVersionMismatches = $false
$patchPrj.PatchDetails.OptimizePatchSize = $true
$patchPrj.Save()
    

Topics