Add Method (key, installPath)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Add Method (key, installPath)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapAdd(String, InstallPath)
Sets an install path for a direcotry, component, or file key.
Declaration Syntax
C# Visual Basic Visual C++
public void Add(
	string key,
	InstallPath installPath
)
Public Sub Add ( 
	key As String,
	installPath As InstallPath
)
public:
virtual void Add(
	String^ key, 
	InstallPath^ installPath
) sealed
Parameters
key (String)
Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.
installPath (InstallPath)
The install path of the key item.
Remarks
Changing an install path does not modify the Database used to generate this InstallPathMap.

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