

Deployment Tools Foundation
Remove Method (key)
Removes an install path from the map.

C# | Visual Basic | Visual C++ |
public bool Remove( string key )
Public Function Remove ( key As String ) As Boolean
public: virtual bool Remove( String^ key ) sealed

- key (String)
- Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.

Boolean
true if the item was removed, false if it did not exist
true if the item was removed, false if it did not exist

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)