Windows Installer Editor Reference
379
Merge Modules and Transforms
To specify a key for substitution
1. Access the Configuration Item Details dialog box from the Module Substitution
dialog box.
See
Creating a Configurable Merge Module
on page 374.
2. Complete the Configuration Item Details dialog box.
See
Setting Configuration Item Details
on page 375.
3. From Type, select Key Into a Table.
4. Mark Delete Unreferenced Rows to have the row that is referenced by the default
value merged if the installation author selects the default value when adding the
merge module to an installation.
Example: Suppose the merge module includes a dialog box with a graphic. You
select Binary (Bitmap) from Key Table and set the Default Value to the bitmap in
the merge module. If the installation author selects a different bitmap when adding
the merge module to an installation, then the default bitmap is no longer
referenced. If Delete Unreferenced Rows is marked, the default bitmap is not
merged into the installation.
5. From Key Table, select the type of table to make available for selection for this key.
6. Click OK.
The Module Substitution dialog box appears.
The values you defined for the configurable item appear in the Value field, and the
items appear in the Configuration Item list box.
7. Click OK.
Example: Configuring an Item for a Merge Module
Suppose your merge module includes a file named ReleaseNotes. Here is how you can
let installation authors select a long or a short file name when they merge the module
into an installation.
To configure an item for a merge module
1. Select Installation Expert > Substitutions page.
2. Click Add at the right of the page.
The Module Substitution dialog box appears.
3. From Table, select File.
4. In the FileName column, click the cell that contains the ReleaseNotes file name. It
should look something like this:
RELEAS~1.TXT|ReleaseNotes.txt
5. Click Add and select Configurable Item.
The Configuration Item Details dialog box appears.
6. Complete the dialog box:
Name
Enter “short name.”