RemoveComponent Method
Project:This information applies to the following project types:
• | Basic MSI |
• | InstallScript |
• | InstallScript MSI |
Call RemoveComponent to remove a component from a specified feature. Similar to removing a component in the Setup Design views, RemoveComponent disassociates a component from its feature, but it does not permanently delete it from the project.
Syntax
RemoveComponent (pComponent As ISWiComponent) As Boolean
Parameters
Parameter |
Description |
pComponent |
Enter the ISWiComponent object that you want to remove. |
Applies To
• | ISWiFeature |