Merge modules provide a standard method by which developers deliver shared Windows Installer components and setup logic to their applications. Merge modules are used to deliver shared code, files, resources, registry entries, and setup logic to applications as a single compound file. Developers authoring new merge modules or using existing merge modules should follow the standard outlined in this section.
Questions tagged [merge-module]
141 questions
20
votes
1 answer
What are merge modules and how are they used?
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…

Russel
- 3,609
- 8
- 33
- 32
19
votes
2 answers
How can I perform a custom action in WiX that only executes on install or uninstall?
I have two custom actions, one of which I'd like to execute when my product is installed and the other when it is uninstalled.
My custom action is currently called from a merge module after the "InstallFinalize", but this happens for both install…

Alan Spark
- 8,152
- 8
- 56
- 91
18
votes
2 answers
How to include wxi file into wxs?
Following the excellent suggestion I have moved some variables to WXI file. How do I include it in WXS file?

Juozas Kontvainis
- 9,461
- 6
- 55
- 66
12
votes
5 answers
Extracting files from merge module
All I want is a command-line tool that can extract files from a merge module (.msm) onto disk. Said differently, I want the same "administrative install" functionality that is possible for an MSI:
msiexec /a myProduct.msi…

Brent Arias
- 29,277
- 40
- 133
- 234
11
votes
1 answer
Load class from registry using COM works with ToolsVersion="2.0" but failes with ToolsVersion="4.0"
I have a c# project which use an internal vb project as COM.
When I converted the project to VS 2010 the following line Throw me an exception:
Set RTCClient_ = New RTCCORELib.RTCClient
the RTCCore.RTCClient is part of Microsoft Merge Module for RTC…

Dor Cohen
- 16,769
- 23
- 93
- 161
10
votes
3 answers
MSI Reference Counting: Two products install the same MSIs
When products A and B each install several MSIs and some of the MSIs are the same, will uninstalling either A or B affect the other? Does install location matter?
Also, what happens when common MSI C's version is higher in Product B and B upgrades C…

rharrison33
- 1,252
- 4
- 18
- 34
9
votes
2 answers
How merge module upgrades?
I can find plenty of info on how msi upgrades. E.g. info about minor upgrade, small upgrade, major upgade, and their use case and limitations. However, I cannot find info on the upgrade behavior of merge module, such as:
It seems like msm does not…

Dudu
- 1,264
- 13
- 14
8
votes
1 answer
Where are the MSM files for the Visual C++ redistributable for Visual Studio 2017?
I've been using VS 2015 for a while now and just upgraded to VS 2017 when it launched yesterday (2017-03-07). I installed with only the .NET desktop and C++ desktop workflows, without changing any other individual components.
I'm considering…

William
- 1,993
- 2
- 23
- 40
6
votes
4 answers
NSIS - Merge Modules
I'm looking for away to include into the installation the merge modules of VC2008 (mscrt90 and atl90)
My main problem involved around bundling the policy file. I've no problem adding the DLL and the manifest files but the policy seems to behave…

Eden
- 3,696
- 2
- 24
- 24
6
votes
1 answer
InstallShield giving ISEXP : error : -5008 when building setup project in VS 2012
I have .net project which I converted from VS 2010 to VS 2012. I am building a setup for the project through InstallShield Limited Edition but I get following error.
ISEXP : error : -5008: This 32-bit package cannot include 64-bit data. The 64-bit…

user1433406
- 63
- 1
- 4
5
votes
3 answers
Need merge modules from VS2005
I'm trying to use a merge module in my setup-project. But it seems like there are dependencies in it that require earlier versions of a couple of merge modules than I have (I've got VS2008).
I need these files from VS2005:
Microsoft_VC80_ATL_x86.msm…

Presidenten
- 6,327
- 11
- 45
- 55
5
votes
1 answer
Bootstrapper: Check if msi version is installed before running
I'm trying to find a solution for the following issue:
I have numerous programs (lets call them slaves) that all rely on a single program (master). I need to distribute an installer for each slave. This installer needs to install the master.
I…

gollumullog
- 1,249
- 2
- 14
- 22
5
votes
4 answers
Build merge module without Devenv from .vdproj
I read quit a few Stackoverflow Questions about building mergemodules via commandline but all of them were accepted when either somebody suggested to use devenv for compilation or use Dark to create wix-files from existing msi files.
Considering the…

tobsen
- 5,328
- 3
- 34
- 51
5
votes
1 answer
Wix: Merge Module with multiple wxs files
So, I am trying to create a merge module where I have multiple wxs files. I thought that everything was OK since the build of my project succeeded. Later, I realized that the path used in Source attribute for one of the secondary wxs files was…

Francis B.
- 7,018
- 2
- 32
- 54
4
votes
4 answers
Detecting x86/x64 and installing correct .msi
I am finalizing an application that will soon be submitted for Windows Logo Program validation. One of the requirements is x64 compatibility. Specifically, Crystal Reports 2008 must work under x64.
My problem is that Crystal Reports basic 2008…

Jeremy Sena
- 208
- 1
- 2
- 9