Deployment Tools Foundation
InstallPackage Constructor (packagePath, openMode)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPackage ► InstallPackage(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