
Windows Installer Editor Reference
372
Setup Editor
3. Specify the following:
Existing File
Specify the path for the file to be duplicated.
Dest. Directory
Specify the directory on the destination computer in which the duplicate file
should be installed. To add a subdirectory to the directory you selected, click
New Folder and enter a folder name.
Long File Name
Enter a name for the duplicate file.
Short File Name
(Optional.) Enter a short file name in 8.3 format to accommodate systems that
don’t support long file names.
4. Click OK.
The duplicate file entry appears in the upper-right pane.
If you added the duplicate file to a different feature and a different directory than the
original file, then a new component is created for the duplicate file.
You cannot have two components install the same file to the same destination directory.
If the file is already set to be installed to the same directory by a component assigned to
another feature, you are prompted to create a component assignment to the current
feature. If you do this, then any future changes to the component will affect all features
to which it is assigned.
To edit a duplicate file entry, double-click its name. To delete it, right-click its name and
select Delete.
See also:
Features Tab
on page 367
Components Tab
The Components tab lets you manipulate an installation’s components. It displays a tree
structure that lists all files, registry entries, and other installation items contained in
each component. It also indicates any component errors.
Installation Expert automatically creates the appropriate components for each item you
add and organizes them according to a component rule set you select. Example: You can
always create a new component for each new file added to the installation, or you can
group related resources, such as help files, into one component.
See
Component Rules
on page 49.
By default, the Components tab displays only items that are in the installation. Example:
If the installation contains a file, a Files icon appears. If you have not added any items to
the installation, only the Components icon appears.
Working with the components tree
z
To display all empty items, right-click in the left pane and select Hide Empty Folders/
Items.