Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are merge modules and how are they used?

Tags:

What are merge modules and how are they used? I heard that they are .msm files, but I've never seen that before (I've only seen .msi).

Are they used when you create msi files? Are they distributed with commercial software (presumably together with msi files?)

What is the point of them? Are they to hide the implementation of the installer for common third party or Microsoft components that need to be installed together with developed software (and therefore distributed together)?

Thanks!

like image 658
Russel Avatar asked Jul 26 '10 05:07

Russel


People also ask

How do I create a merge module using InstallShield?

Merge modules can be created using the “Blank Merge Module Project” option under “Create a New project” in the InstallShield Today view. You can create custom merge modules to insert into their projects, but custom objects cannot be created.

What are MSM files?

Database of a "merge module" that contains installation settings and properties for a specific software installer; includes files, resources, registry entries, and setup information; often contained within an . MSI file.

What is an MSI MSM for?

The Open MSI/MSM Wizard is a tool that converts existing installation projects (. msi files) and merge modules (. msm files) to InstallShield installation projects (. ism files) that you can modify and build in the InstallShield user interface.


1 Answers

MSI = Windows Installer Package

MSM = Merge Module

Here's how one setup guru explained it to me: "MSI is to EXE as MSM is to LIB".

That is, an MSI package is a standalone installer package. You build MSI packages to distribute to customers or for them to download and run directly. Where an MSM is a setup package that can't be installed directly - it has to be included within an MSI. For example, the Visual C Runtime (msvcrt90.dll and friends) are distributed as an MSM merge modules. If your app depends on the CRT, you might reference Microsoft_VC100_CRT_x86.msm into your MSI.

There are different ways to build both MSI installer packages and MSM merge modules. One such way to author setup packages is with the WIX toolset. Some links that may be of interest below:

http://wix.sourceforge.net/manual-wix2/overview.htm

http://wix.sourceforge.net/manual-wix2/authoring_merge_modules.htm

like image 111
selbie Avatar answered Sep 28 '22 00:09

selbie