AttachComponent Method
Project:This information applies to the following project types:
• | Basic MSI |
• | InstallScript |
• | InstallScript MSI |
Call the AttachComponent method to associate a component with the current feature. The component must exist (created manually in the IDE or by calling AddComponent) before you can associate it with a feature.
Syntax
AttachComponent (Component As ISWiComponent)
Parameters
Parameter |
Description |
Component |
Provide the ISWiComponent object that represents the component you want to associate with this feature. |
Applies To
• | ISWiFeature |