MSI Factory 2.3

Merge Modules

Merge Modules

Previous topic Next topic  

Merge Modules

Previous topic Next topic  

MSI Factory

This dialog lets you include merge modules with your installer. Merge modules are pre-configured MSI databases usually distributed by third-party component vendors for their components. In general, if you are distributing someone else's component, you should use their merge module to do so. See the More Information links at the bottom of this topic if you want to learn more about merge modules.

To add a merge module to your project, click the Add button. This will open the Merge Module Properties dialog. Note that when you add a merge module to your project, you are adding a reference to it. It will not actually be merged into your installer until build-time.

In order for a merge module to actually be included at build-time it must belong to one or more features in your installer. MSI Factory automatically adds merge modules to the default feature in your project (usually called "Complete") for you, but you can change the feature that it is assigned to from the Features dialog.

When you add a merge module to a project, MSI Factory reads the MSM database and does a number of things for you automatically including:

Gives the module an ID based on the value of the ModuleID field in the ModuleSignature table.
Sets the language setting appropriately based on the languages supported in the merge module.
Reads configuration variables from the merge module.
Reads the ModuleDependency table to see if the required dependent merge modules are in your project. If they are not, MSI Factory will help you locate them.

You can select one or more merge modules in the list and then click the Scan Dependencies button to force MSI Factory to re-scan the merge module for dependencies at any time.

More Information

MSDN Online: About Merge Modules

MSDN Online: Merge Modules

MSDN Online: ModuleDependency Table

MSDN Online: ModuleSignature Table

WiX Help File: Merge Element


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us