Deployment Tools Foundation
ExportAll Method (directoryPath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Database ► ExportAll(String)
Exports all database tables, streams, and summary information to archive files.
Declaration Syntax
Parameters- directoryPath (String)
- Path to the directory where archive files will be created
RemarksThe 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 |