Windows Installer Editor Reference
369
Setup Editor
To assign a component to a feature
1. In Setup Editor > Features tab, right-click a feature and select New > Component
Assignment.
The Assign Components to Feature dialog box appears. The dialog box lists all
components in the installation, except those already assigned to the currently
selected feature.
2. Select one or more components to add to the feature.
3. Click OK.
You can add the same component to more than one feature; the component is in the
installation only once. Example: If your application includes a grammar check feature
and a spell check feature that both depend on the same file, you might want to assign
that file’s component to both features. That way the file is available even if only one of
the features is installed on the destination computer.
To unassign a component
1. In Setup Editor > Features tab, expand the folder for the feature that contains the
component to unassign.
2. Click the Components icon. All components for the feature appear in the upper-right
pane.
3. In the upper-right pane, right-click a component and select Unassign.
Components that are not assigned to any feature are not installed on the destination
computer.
To move a component to a different feature
1. In Setup Editor > Features tab, expand the folder for the feature that contains the
component to move.
2. Click the Components icon. All components for the feature appear in the upper-right
pane.
3. In the upper-right pane, click a component and drag it to a different feature in the
left pane.
The component is moved to the new feature.
See also:
Features Tab
on page 367
Modules Icon
The Modules icon in Setup Editor displays merge modules included in specific features.
However, you cannot add merge modules here. To add or edit merge modules in an
installation, use Installation Expert > Merge Modules page.
See
Adding a Merge Module to an Installation
on page 338 and
Editing Merge Module
Details
on page 340.
To view merge modules in a feature
1. In Setup Editor > Features tab, expand a feature.