ExportAll Method (directoryPath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ExportAll Method (directoryPath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerDatabaseExportAll(String)
Exports all database tables, streams, and summary information to archive files.
Declaration Syntax
C# Visual Basic Visual C++
public void ExportAll(
	string directoryPath
)
Public Sub ExportAll ( 
	directoryPath As String
)
public:
void ExportAll(
	String^ directoryPath
)
Parameters
directoryPath (String)
Path to the directory where archive files will be created
Remarks

The directory will be created if it does not already exist.

Win32 MSI API: MsiDatabaseExport

Exceptions
Exception Condition
FileNotFoundException the directory path is invalid
InvalidHandleException the Database handle is invalid

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