Windows Installer Editor Reference
339
Merge Modules and Transforms
The Select Merge Module Destination Directory dialog box appears.
8. Select a directory and click OK.
Select the destination directory for files in the merge module that are not installed
to a predefined directory. If there are no files in the merge module’s Application
directory and you want to leave this blank, select <none>.
9. If the installation contains only one feature and the merge module is not
configurable, the Merge Module File Directory dialog box contains a Finish button.
Click Finish to complete this process.
10. If the installation contains multiple features, the Merge Module File Directory dialog
box contains a Next button. Click Next to continue.
The Merge Module Features dialog box appears.
11. To add this merge module to other features besides the one you selected in the
Current Feature drop-down list, select them in the list box. You can select multiple
features.
If multiple features in the installation depend on this merge module, you should add
it to all of them. Only one copy of the merge module is installed on the destination
computer regardless of how many features include it.
12. If none of the merge modules you’re adding is configurable, the Merge Module
Features dialog box contains a Finish button. Click Finish to complete the process.
13. If any of the merge modules you’re adding is configurable, the Merge Module
Features dialog box contains a Next button. Click Next to continue. The Merge
Module Configuration dialog box appears.
14. In the list box, select the name of the item to configure. If the Value drop-down list
appears, select a value. If a text field appears, its label indicates the type of data
you can enter.
See
Editing Merge Module Details
on page 340.
15. If you’re adding more than one configurable merge module, a Next button appears
at the bottom of the dialog box. Click Next and repeat the preceding step.
The Next button changes to a Finish button when the Merge Module Configuration
dialog box shows the last configurable merge module to be added.
16. Click Finish.
The merge modules are added to this installation. If any of the merge modules contain
dependencies, Windows Installer Editor tries to add them by looking in the default
merge module directory.
See
Setting Dependencies for a Merge Module
on page 326.
If a dependency merge module cannot be found, you are prompted to download it.
During compile, the merge modules are merged into the installation, so that the
resulting .MSI contains both the changes defined in the standard installation as well as
the changes defined in the merge modules. If your compile fails because of merge
module errors, the errors appear in the Task List.
To remove a merge module from an installation, select the merge module on the Merge
Modules page and click Delete. If the module is included with more than one feature, it
is only removed from the installation when you remove it from all features.
See also: