merge-module

How would I include a (VFP) merge module in an ASP.NET Web Deployment Project?

I have an ASP.NET application that is installed using a Web Deployment Project. I'd like to add the Visual FoxPro merge module to the installer. Does anyone have examples of how to do this - or how to install any merge module in a Web Deployment Project? Going to WiX will be my fallback, but as the Web Deployment Project is working effe...

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 want to be able to version both pieces, so multiple msi's appear to be the right solution, ...

Merge Module problem from Dark.exe decompliation

I have been working for quite sometime to transfer all of the installations for my job from Wise for Windows Installer to WiX. Started with the obvious step (given the number of installations to transfer and their size) and decompiled them with Dark.exe (WiX toolkit). I have been creating a general purpose program to clean up the outpu...

Change Wix Merge Module Package GUID?

When is it necessary to change the package GUID of a merge module? <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt; <Module Id="MyMergeModule" Language="1003" Version="1.0.0.0"> <Package Id="SOME_GUID" Manufacturer="Me" InstallerVersion="301" /> </Module> </Wix> Wix3 requires that the package GUID is explicitly specified...

COM deployment dependencies

I have been running in to an issue where a COM dll that I am distributing with my application fails to register because the atl.dll is not registered on the machine. The quick fix is to have the run regsvr32 on the dll, but I want something a little cleaner then that. I don't have much experience with deployment and I was wondering if...

How do I customize what a third party MSM does?

I'm trying to convert a project in Visual Studio 2008 from static linking of the CRT to dynamic linking. This was easy enough, and I added the CRT MSM and policy MSM to my Wix file with no problems. I am not that happy with the MSI that is output though, it is much larger than what I expected. Looking at the MSI with Orca shows three co...

How do I pass custom action data from a Visual Studio Setup MSI to an output project via a Merge module

I have a fully working Setup project within Visual Studio 2008 that takes inputs from a UI and passes them via a Custom Action to the output - this works perfectly. Now I have to change this so that the UI is still in a setup project but that the output is within a merge module. The current Custom Action Data looks much like the follow...

Help with ActiveX Install? Merge Modules - Windows Vista and Windows 7

I'm building an ActiveX control installer in VS2008 which uses both the CRT and MFC merge modules to install. When my control tries to register on Windows 7 it fails. Dependency Walker says I'm missing the mfc90u.dll, msvcr90.dll and msvcp90.dll dependencies when trying to register my control and the install fails. Are the merge modules...

How can a wix custom action dll call be made to use the debug runtime via a merge module?

I'm trying to create a debug build with a corresponding debug installer for our product. I'm new to Wix so please forgive any naivety contained herein. The debug Dlls in my project are dependent on both the VS2008 and the VS2008SP1 debug runtimes. I've created a merge module feature in wix to bundle those runtimes with my installer. ...

How do I add a merge module to an installer that is in the same solution?

I have two installers and a merge module in a solution, and I need to include that merge module in one of the installers. Is this possible without building the merge module and referencing the *.msm file directly? Is there any way to do it like a project reference? ...

Refreshing a merge module's file system references

I'm regularly facing the problem that my merge module's references get out of sync with the file system. Between two builds, the content of some directories changes. Some files get removed and some new ones appear. Is there a way to automatically refresh these references so the merge module is in sync with the file system? ...

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 TARGETDIR="C:\myInstallation" /qn The above only works on an msi (near as I can tell). So to get the same effect ...

Install different version of merge module depending on processor architecture

I have a Windows .net solution that is deployed with a Visual Studio Deployment project. My exe is a win32 app that runs fine on either a x86 or x64 windows. However I included a merge module (*.msm) from a third party vendor which is available in a x86 and x64 version. Now I could copy my whole deploy project and just change the msm, ...

Is it possible to override the behavior of a merge module.

Supposing I have a merge module that installs a file "MyFile.txt" to a certain location, and that I wish to use that merge module, however I want to supply a different copy of "MyFile.txt" from the one supplied with the merge module. Is it possible to do this? (And for bonus points how can I do this using Wix) ...

Installing Win32 shared SxS policy via WiX 3.0 MSM fails for 2nd app

I am attempting to author a merge module for use by multiple application installers to install a Win32 Shared SxS Assembly and its associated Policy. I'm using WiX 3.0 to generate the MSM and test MSIs. So far it works fine on XP-SP3/Vista-SP2/Win7 for the first app installer that runs … but on XP-SP3 the second app installer fails bec...

Can MSM (Merge Module) files be used within Inno-Setup?

Can I include a MSM file and execute it within Inno-Setup? If not, how would I properly install a merge module? I am needing to install SOAP3 with my application and need a bit of guidance. Will I have to wrap the MSM into a custom MSI and then have Inno execute the MSI file? What would I use to create a clean and stupid MSI file for the...

InstallScript project giving Error 1706 when upgrading

I have an InstallScript project written from scratch in InstallShield 2010. It contains, amongst other things, three native InstallShield objects and four InstallShield Merge Module Holder Objects which wrap MSM files. When I originally tested the project, it installed fine on a clean environment, but when I tried upgrading to a newer v...

Setup Project CustomAction. How to access file

I created setup project. And then a custom actions managed code dll. Now, how can I access files in setup project or in merge module from inside of my custom actions library code? Thank you UPD: I guess there is no way to access to the files from inside of a custom action's code. So I'm thinking about embedding those files inside my d...

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 msi files?) What is the point of them? Are they to hide the implementation of the install...

WiX major upgrade doesn't run when I remove a merge module from the project

Hello, I've got a WiX project that includes the installation of Visual C++ 2008 runtime components for x86 with a separated merge module. Unfortunately there's a well known issue with that .msm with MSI v4.5. To be more specific the .msm custom action SxSUninstallCA takes 20 minutes to complete on uninstall. So, long story short, I de...