Windows Installer Editor Reference
380
Merge Modules and Transforms
Display Name
Enter “Short file name.”
Description
Enter “Choose whether to use a short or a long file name for this file.”
Type
Select Arbitrary Text.
Default Value
Enter “RELEAS~1.TXT.”
7. Click OK.
On the Module Substitution dialog box, your configuration item appears as
short_name in the Configuration Items list box.
8. Click Add and select Constant.
The Substitution Constant dialog box appears.
9. In Constant Substitution Value, enter the pipe character (|) and click OK.
On the Module Substitution dialog box, the pipe character (|) appears in the
Configuration Items list box, below short_name.
10. Click Add and select Configurable Item.
The Configuration Item Details dialog box appears.
11. Enter the following:
Name
Enter “long name.”
Display Name
Enter “Long file name.”
Description
Enter “Choose whether to use a short or a long file name for this file.”
Type
Select Arbitrary Text.
Default Value
Enter “ReleaseNotes.txt.”
12. Click OK.
On the Module Substitution dialog box, long_name appears in the Configuration
Items list box, below the pipe character. Value shows the substitution options for
the file name: [=short_name]|[=long_name].
13. When you add this merge module to an installation, the configuration items will
appear in the order they are listed here. To rearrange the items click move up and
move down.
When you add this configurable merge module to an installation, the Merge Module
Configuration dialog box displays the following:
z
In the list box at the top: Short file name and Long file name.
z
Description: Choose whether to use a short or a long file name for this file.
z
Text Value: either RELEAS~1.TXT or ReleaseNotes.txt, depending on the selection in
the list box. This value can be modified.