Deployment Tools Foundation
BuildDirectoryPathMap Method (db, useShortNames, sourceRootDir, targetRootDir)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPathMap ► BuildDirectoryPathMap(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
InstallPathMap
An InstallPathMap with the described mapping.
An InstallPathMap with the described mapping.
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.9.1006.0)