Add Method (key, installPath)

Microsoft Deployment Tools

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