BuildDirectoryPathMap Method (db, useShortNames, sourceRootDir, targetRootDir)

Microsoft Deployment Tools

Deployment Tools Foundation BuildDirectoryPathMap Method (db, useShortNames, sourceRootDir, targetRootDir)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapBuildDirectoryPathMap(Database, Boolean, String, String)
Builds a mapping of Directory keys to directory paths, specifying root directories for the source and target paths.
Declaration Syntax
C# Visual Basic Visual C++
public static InstallPathMap BuildDirectoryPathMap(
	Database db,
	bool useShortNames,
	string sourceRootDir,
	string targetRootDir
)
Public Shared Function BuildDirectoryPathMap ( _
	db As Database, _
	useShortNames As Boolean, _
	sourceRootDir As String, _
	targetRootDir As String _
) As InstallPathMap
public:
static InstallPathMap^ BuildDirectoryPathMap(
	Database^ db, 
	bool useShortNames, 
	String^ sourceRootDir, 
	String^ targetRootDir
)
Parameters
db (Database)
Database containing the Directory table.
useShortNames (Boolean)
true to use short directory names; false to use long names
sourceRootDir (String)
The root directory path of all source paths, or null to leave them relative.
targetRootDir (String)
The root directory path of all source paths, or null to leave them relative.
Return Value
An InstallPathMap with the described mapping.

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package) Version: 3.0.0.0 (3.5.1623.0)