PatchPackage Constructor (packagePath)

DTF API

Copy image CopyHover image
Deployment Tools Foundation PatchPackage Constructor (packagePath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackagePatchPackagePatchPackage(String)
Creates a new patch package object; opening the patch database in read-only mode.
Declaration Syntax
C# Visual Basic Visual C++ F#
public PatchPackage(
	string packagePath
)
Public Sub New ( 
	packagePath As String
)
public:
PatchPackage(
	String^ packagePath
)
new : 
        packagePath : string -> PatchPackage
Parameters
packagePath (String)
Path to the patch package (.MSP)
Remarks
The PatchPackage object only opens the patch database in read-only mode, because transforms (sub-storages) cannot be read if the database is open in read-write mode.

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)