Deployment Tools Foundation
GetTargetPath Method (directory)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► GetTargetPath(String)
Gets the full path to the designated folder on the installation target drive.
Declaration Syntax
Parameters
- directory (String)
Remarks
Win32 MSI API: MsiGetTargetPath
Exceptions
Exception | Condition |
---|---|
ArgumentException | the folder was not found in the Directory table |
InvalidHandleException | the Session handle is invalid |