Windows Installer Editor Reference
425
Setup Editor
z
A shortcut is assigned to the component, but the key path for the shortcut is not a
file.
z
Registry keys are created in HKEY_CURRENT_USER, but the key path is not for a
registry key in HKEY_CURRENT_USER.
See also:
Components Tab
on page 423
Adding and Editing a Component
Warning
To work with items on the Components tab, you should be proficient in the Windows
Installer development environment. See Windows Installer Components in the Windows
Installer SDK Help.
Installation Expert automatically creates the appropriate components for each item you
add to an installation. However, you can add and edit components yourself in Setup
Editor > Components tab.
z
To edit a component, double-click its name.
z
To edit multiple components, first select the Components icon in the upper-left
pane. In the upper-right pane, select components, right-click, and select Details. On
the Multi-Component Details dialog box, you can edit a subset of the fields found in
the Component Details dialog box.
z
To delete or rename a component, use the right-click menu.
To add a new component
1. In Setup Editor > Components tab, right-click and select New > Component.
The Component Details dialog box appears.
2. Complete the dialog box:
Component
Enter a name for the new component. Components generated by Installation
Expert have automatically generated names that usually reflect the first file
added to a particular directory.
Directory
Enter the directory on the destination computer where the files in this
component will be installed. To create a new folder, click New.
GUID
(Optional.) To replace the automatically-generated GUID (globally unique
identifier) for this component with a new one, click Generate.
Condition
Enter the condition required to install this component. To always have the
component installed, leave this blank. To enter a condition that must evaluate to
true before the component can be installed, click Build. The Condition Builder
appears.
See
Creating Conditions With Condition Builder
on page 441.