Deployment Tools Foundation
GetSourcePath Method (directory)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► GetSourcePath(String)
Gets the full path to the designated folder on the source media or server image.
Declaration Syntax
Parameters- directory (String)
RemarksWin32 MSI API: MsiGetSourcePath
Exceptions| Exception | Condition |
|---|---|
| ArgumentException | the folder was not found in the Directory table |
| InvalidHandleException | the Session handle is invalid |