merge-module

What are merge modules and how are they used?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 01:34:16
问题 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! 回答1:

Visual C++ 2005 merged modules not installing

自古美人都是妖i 提交于 2019-12-13 06:34:47
问题 I've written a Crystal Report Viewer in VB .NET (VS 2013). It works fine for the most part, but I found on certain PCs I was faced with the error: The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE threw and exception So after a long trial and error (and an incredible degree of google searching) I found out CrystalReports for VB has a dependency with Visual C++ 2005 Redistribution. So I got the merged modules and incorporated them with my installer. Only to find out that I

Unable to fetch the install location property in a deferred custom action

你离开我真会死。 提交于 2019-12-11 19:25:59
问题 I have written this code after reading the link: http://blogs.technet.com/b/alexshev/archive/2008/03/25/property-does-not-exist-or-empty-when-accessed-from-deferred-custom-action.aspx <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Module Id="MergeModule1" Language="1033" Version="1.0.0.0"> <Package Id="cffa568e-1bf0-4eb3-bee3-eb5801a0bbd0" Manufacturer="Microsoft" InstallerVersion="200" /> <Binary Id="myCustomActionsDLL" SourceFile=

Bootstrapper: Check if msi version is installed before running

耗尽温柔 提交于 2019-12-10 14:44:22
问题 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, chained with a bootstrapper. My problem is if a slave installer installs the same version of the master that is already installed, the .msi will run in repair

How to cope with Install error 1920 about winsxs merge modules in Vista and 7?

半腔热情 提交于 2019-12-10 11:50:17
问题 When I try to install my msi package I get an error only in Vista and 7. "Error 1920. Service ... (...) failed to start. Verify that you have sufficent privileges to start system services" I get this error in Vista or 7 if I build my setup with C++ 9 CRT Winsxs MSM merge module If I use C and C++ 7 runtime libraries it doesn't have this problem, but I must build my exe with old versions of MS Visual Studio. Does anyone have idea how can I cope with that? 回答1: As a general rule of thumb, you

Crystal Reports Merge Module for Visual Studio 2008

て烟熏妆下的殇ゞ 提交于 2019-12-06 06:17:51
问题 Visual Studio 2008 did not include Merge Modules for Crystal Reports. This means that if you upgraded your Windows Forms application from 2005 to 2008 the reporting application would no longer work on client machines. There are a number of conflicting reports over the web about the status of this - whether a merge module will be or has been released or not. I followed the advice of this forum, and downloaded merge modules from HREF=https://smpdl.sap-ag.de/~sapidp/012002523100005986132008E

Build merge module without Devenv from .vdproj

五迷三道 提交于 2019-12-05 08:34:16
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 following: VisualStudio isn't installed on the buildserver I have to use. I am using nant + msbuild to compile the solutions I would like to compile mergemodules from .vdproj (because Visual Studio detects dependencies automatically) and create a msi setup from multiple mergemodules ... how can I build the merge modules from commandline without

Crystal Reports Merge Module for Visual Studio 2008

时光怂恿深爱的人放手 提交于 2019-12-04 09:41:20
Visual Studio 2008 did not include Merge Modules for Crystal Reports. This means that if you upgraded your Windows Forms application from 2005 to 2008 the reporting application would no longer work on client machines. There are a number of conflicting reports over the web about the status of this - whether a merge module will be or has been released or not. I followed the advice of this forum , and downloaded merge modules from HREF= https://smpdl.sap-ag.de/~sapidp/012002523100005986132008E/cr10_net_mm.zip I've created an installation file containing the CrystalReports10_Net_EmbeddedReporting

How can I perform a custom action in WiX that only executes on install or uninstall?

て烟熏妆下的殇ゞ 提交于 2019-12-03 23:40:37
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 and uninstall. I've tried adding the "NOT INSTALLED AND NOT UPGRADINGPRODUCTCODE" condition, but that gave me an error: Error 2762. Cannot write script record. Transaction not started. I've also tried attaching to other actions (for example, UnpublishComponents), but I can't find any that are unique to install or uninstall. How can I fix this problem?

How to convert an MSM file into an MSI file on the command line? Doing this with the Windows Installer SDK, or COM

偶尔善良 提交于 2019-12-02 10:06:48
问题 I have a MSM file from a third party tool. We customize the MSM with a small script and this tool is integrated into our installer and works fine. All modification is done with VBscript using COM and "WindowsInstaller.Installer" But sometimes our support needs just this tool as standalone installer package. Is there a simple way to convert a MSM file into and full installer MSI package on the command line? Using VBscript or the COM Module with the "WindowsInstaller.Installer" is OK. Knowing