

Deployment Tools Foundation
Add Method (key, installPath)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPathMap ► Add(String, InstallPath)
Sets an install path for a direcotry, component, or file key.

C# | Visual Basic | Visual C++ | F# |
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
abstract Add : key : string * installPath : InstallPath -> unit override Add : key : string * installPath : InstallPath -> unit

- 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.

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.11.1.2318)