Windows Installer Editor Reference
378
Merge Modules and Transforms
merge module to an installation, the installation author selects from a list that shows the
descriptive text. See Bitfield Format Types in the Windows Installer SDK Help.
To specify a bitfield 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 Bitfield (Drop-down List).
4. In Bitmask, enter the decimal value of the bit flag to set. To set multiple bit flags,
enter the sum of their decimal values.
Example: Suppose you want to let the installation author set the attributes of a file
to system and vital. The decimal value of the system attribute is 4. The decimal
value of the vital attribute is 512. You would add these values and enter a bitmask
of 516.
5. Click Add.
The Drop-down List Value dialog box appears.
6. Complete the dialog box:
Name
Enter text to describe the substitution value. The installation author sees this
value in the Value drop-down list on the Merge Module Configuration dialog
box.
Value
Enter the value to be substituted for the current value of the configuration item.
7. Click OK.
The Configuration Item Details dialog box lists the text and value you defined.
8. Repeat the preceding three steps to add additional values.
9. 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 Items list box.
10. Click OK.
Specifying a Key for Substitution
When you add a configuration item to a configurable merge module as a key into a
table, you must specify a table for the key to make configurable. When adding the
merge module to an installation, the installation author selects from a list that appears.
For information on this format type, see Key Format Types in the Windows Installer SDK
Help.