Remove Method (key)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation Remove Method (key)
Removes an install path from the map.
Declaration Syntax
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
Parameters
key (String)
Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.
Return Value
Boolean
true if the item was removed, false if it did not exist
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)