

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.

C# | Visual Basic | Visual C++ |
public string GetSourcePath( string directory )
Public Function GetSourcePath ( directory As String ) As String
public: String^ GetSourcePath( String^ directory )

- directory (String)


Win32 MSI API: MsiGetSourcePath

Exception | Condition |
---|---|
ArgumentException | the folder was not found in the Directory table |
InvalidHandleException | the Session handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)