Windows Installer Editor Reference
145
Assembling an Installation
Adding Files to an Installation
on page 130
Editing File Details
When you add a file to an installation, it inherits the attributes of the original file. If you
edit the attributes of a file in an installation, the file reflects your edits when it is
installed on the destination computer.
Note
When you add an operation to remove, move, or copy a file on the destination computer,
an entry for that operation appears on the Files or Web Files page in the lower-right list
box. Because the entry is an operation to be performed on a file on the destination
computer, you cannot edit its attributes. However, you can edit the details of the
operation.
To edit attributes for a single file
On the Files or Web Files page, double-click a file in the lower-right list box.
(Visual Studio integrated editor only.) On the Visual Studio Solution page, double-click a
file in the lower-right list box.
The File Details dialog box appears. It contains several tabs. See:
Editing General File Details
on page 146
Setting Permissions for Files and Directories
on page 147
Editing Self-Registration Settings for Files
on page 148
Editing Assembly Settings for Files
on page 149
Viewing Shared File Resources
on page 152
Editing XML Files During Installation
on page 153
To edit attributes for multiple files
1. On the Files or Web Files page, select multiple files in the lower-right list box.
In the Visual Studio integrated editor, you also can use the Visual Studio Solution
page.
2. Click Details at the lower right of the page.
The Multiple Files dialog box appears. Only a subset of the editing options are
available.See
Editing General File Details
on page 146 and
Setting Permissions for Files
and Directories
.
Note
If you add a file to an installation, then add it again to a different directory, the second
instance is added as a duplicate file. If you double-click the second file, the Duplicate
File Details dialog box appears instead of the File Details dialog box. (See also
Creating
Duplicate File Entries
on page 421.) With .NET assemblies, if you add the same file to
the application directory and the Global Assembly Cache, a duplicate file is not created
because they are treated as separate components.
See also:
Files or Web Files Page
on page 125
Visual Studio Solution Page
on page 157
Adding Files to an Installation
on page 130