InstallPackage Constructor (packagePath, openMode)

Microsoft Deployment Tools

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) Version: 3.0.0.0 (3.5.1623.0)