InstallPackage Constructor (packagePath, openMode)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation InstallPackage Constructor (packagePath, openMode)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPackageInstallPackage(String, DatabaseOpenMode)
Creates a new InstallPackage object. The file source directory and working directory are the same as the location as the package file.
Declaration Syntax
C# Visual Basic Visual C++
public InstallPackage(
	string packagePath,
	DatabaseOpenMode openMode
)
Public Sub New ( 
	packagePath As String,
	openMode As DatabaseOpenMode
)
public:
InstallPackage(
	String^ packagePath, 
	DatabaseOpenMode openMode
)
Parameters
packagePath (String)
Path to the install package to be created or opened
openMode (DatabaseOpenMode)
Open mode for the database

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