GetSourcePath Method (directory)

Microsoft Deployment Tools

Deployment Tools Foundation GetSourcePath Method (directory)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionGetSourcePath(String)
Gets the full path to the designated folder on the source media or server image.
Declaration Syntax
C# Visual Basic Visual C++
public string GetSourcePath(
	string directory
)
Public Function GetSourcePath ( _
	directory As String _
) As String
public:
String^ GetSourcePath(
	String^ directory
)
Parameters
directory (String)
Remarks

Win32 MSI API: MsiGetSourcePath

Exceptions
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) Version: 3.0.0.0 (3.5.1623.0)