BuildFilePathMap Method (db, componentPathMap, useShortNames)

DTF API

Copy image CopyHover image
Deployment Tools Foundation BuildFilePathMap Method (db, componentPathMap, useShortNames)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapBuildFilePathMap(Database, InstallPathMap, Boolean)
Builds a mapping from File keys to installation paths.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static InstallPathMap BuildFilePathMap(
	Database db,
	InstallPathMap componentPathMap,
	bool useShortNames
)
Public Shared Function BuildFilePathMap ( 
	db As Database,
	componentPathMap As InstallPathMap,
	useShortNames As Boolean
) As InstallPathMap
public:
static InstallPathMap^ BuildFilePathMap(
	Database^ db, 
	InstallPathMap^ componentPathMap, 
	bool useShortNames
)
static member BuildFilePathMap : 
        db : Database * 
        componentPathMap : InstallPathMap * 
        useShortNames : bool -> InstallPathMap 
Parameters
db (Database)
Installation database.
componentPathMap (InstallPathMap)
Component mapping returned by BuildComponentPathMap(Database, InstallPathMap).
useShortNames (Boolean)
true to use short file names; false to use long names
Return Value
InstallPathMap
An InstallPathMap with the described mapping.

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