Windows Installer Editor Reference
374
Merge Modules and Transforms
The components you select are removed from this installation, compiled into the new
merge module, and re-inserted in the form of a merge module. The new merge module
is also available to other installations.
See also:
Setting Merge Module Details
on page 366
Setting Dependencies for a Merge Module
on page 367
Setting Exclusions for a Merge Module
on page 368
About Merge Modules
on page 364
Available Tabs and Pages in Merge Modules
on page 365
Creating a Configurable Merge Module
¾
Available in merge module files (.WSM, .MSM) only.
To create a configurable merge module, you add configuration items to a standard
merge module. On the Substitutions page, you specify the:
z
Substitution item, which is the field that can be configured.
z
Configuration item, which determines how a field can be configured.
This creates a substitution value, which consists of one or more values specified by
configuration items. When a configurable merge module is added to an installation, the
installation author can specify values for the substitution item based on the
configuration item settings.
See
Adding a Merge Module to an Installation
on page 381.
Configurable merge modules are supported only by Windows Installer 2.0 or later.
For information on creating a standard merge module, see
Creating a Merge Module As a
New Installation
on page 369. (In Visual Studio: also see
Creating a Merge Module
Within a Solution
on page 371.)
To add a configuration item to a merge module
1. Select Installation Expert > Substitutions page.
If there is no Substitutions page, you are not in a merge module file.
2. Click Add at the right of the page.
The Module Substitution dialog box appears.
3. From Table, select the table that contains the item to be configured when the
merge module is added to an installation.
4. In the table, click a table cell to select the substitution item.
5. Click Add and select from the button menu:
Configurable Item
Select to add a configuration item to the selected substitution item.
See
Setting Configuration Item Details
on page 375.
Constant
Select to add a constant value in combination with configurable items. Example:
After adding a configuration item, select this option to add a pipe character (|)
before adding another configuration item.