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