Each merge Module contains 3 file elements (one or two dll's and a .config file) and a bunch of Custom Actions I have about 10 wixlibs that are shared between the Merge Modules (dll's that are shared between the merge modules but are installed to different directories) Each merge module is a different service... I have 5 merge modules.
So are you saying to "convert" each merge module to a wixlib? Can I still share the wixlibs within a wixlib? Here is a typical Merge Module (I have excluded the custom actions, about 10 of them) <Binary Id="BIN_CustomActionMM" SuppressModularization="yes" SourceFile="$(var.<some company>InstallerCAMM)"/> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="WixLibRedirectFolder" Name="EnterpriseSettingsService"> <Component Id="cmp_EnterpriseSettingsDll" Guid="<some GUID>"> <File Id="file_EnterpriseSettingsDll" KeyPath="yes" Name="<some company>.Enterprise.Settings.dll" Source="$(var.tssSourcePath)\<some company>.Enterprise.Settings.Host\<some company>.Enterprise.Settings.dll" /> <ServiceControl Id="StartSettingsService" Name="<some company>.Enterprise.Settings" Stop="both" Wait="yes" /> <RemoveFolder Id="RemoveSSFolder" Directory="WixLibRedirectFolder" On="uninstall" /> </Component> <Component Id="cmp_SEventLog" Guid="<some GUID>" KeyPath="yes"> <util:EventSource Name="Settings Service" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR]EventLogMessages.dll" Log="<some company> Labs"/> <Condition><![CDATA[NOT Installed AND NOT VersionNT64]]></Condition> </Component> <Component Id="cmp_SEventLogx64" Guid="<some GUID>" KeyPath="yes"> <util:EventSource Name="Settings Service" EventMessageFile="[NETFRAMEWORK40FULLINSTALLROOTDIR64]EventLogMessages.dll" Log="<some company> Labs"/> <Condition><![CDATA[NOT Installed AND VersionNT64]]></Condition> </Component> <Component Id="cmp_EnterpriseSettingsHostDll" Guid="<some GUID>"> <File Id="file_EnterpriseSettingsHostDll" KeyPath="yes" Source="$(var.tssSourcePath)\<some company>.Enterprise.Settings.Host\<some company>.Enterprise.Settings.Host.dll" /> </Component> <Component Id="cmp_EnterpriseSettingsDllConfig" Guid="<some GUID>"> <File Id="file_EnterpriseSettingsDllConfig" KeyPath="yes" Name="<some company>.Enterprise.Settings.Host.dll.config" Source="$(var.tssSourcePath)\<some company>.Enterprise.Settings.Host\<some company>.Enterprise.Settings.Host.dll.config" /> </Component> </Directory> </Directory> <!-- Shared services files --> <ComponentGroupRef Id="cmpgrp_NServiceBus" /> <ComponentGroupRef Id="cmpgrp_SharedServiceFiles" /> <ComponentGroupRef Id="cmpgrp_WcfServiceBehaviors"/> <ComponentGroupRef Id="cmpgrp_<some company>SharedDataDlls"/> <ComponentGroupRef Id="cmpgrp_<some company>InternalSettings"/> <ComponentGroupRef Id="cmpgrp_Log4Net"/> <ComponentGroupRef Id="cmpgrp_DomainTypes"/> <ComponentGroupRef Id="cmpgrp_SharedServicesUnityFiles"/> <ComponentGroupRef Id="cmpgrp_<some company>Common"/> <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR"/> <PropertyRef Id="NETFRAMEWORK40FULLINSTALLROOTDIR64"/> <Property Id="SERVER_INSTALL" Secure="yes" SuppressModularization="yes"/> <Property Id="DIRECTORY_PATH_SERVICES" Secure="yes" SuppressModularization="yes"/> <Property Id="SETTINGS_SERVICE_PATH" Secure="yes" SuppressModularization="yes"/> <Property Id="SERVICESLOGLEVEL" Secure="yes" SuppressModularization="yes"/> -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: July-11-13 9:27 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Resolve Light 1056 Warning Steve, basically, yes: http://robmensching.com/blog/posts/2008/10/10/what-are-.wixlibs-and-why-would-you-use-them On Thu, Jul 11, 2013 at 5:48 AM, Steven Ogilvie <steven.ogil...@titus.com>wrote: > Sigh, > > I am confused... When I was using InstallShield (for many years) I was > told to always use Merge Modules, easier for upgrading, and easier for > grouping "features". > > I have a Server MSI and a Services MSI which is bundled in burn so the > bootstrapper can take care of the pre reqs etc... > > In my Services MSI I have 6 Merge Modules, where each Service is a > Merge Module, I also have several WixLibs of "common files" and share > those WixLibs within the Merge Modules. The Merge Modules where used > mainly for Upgrading... > > Are the majority of you saying it makes more sense to get rid of the > Merge Modules and just use the WixLibs? > > Steve > > -----Original Message----- > From: John Cooper [mailto:jocoo...@jackhenry.com] > Sent: July-11-13 8:34 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Resolve Light 1056 Warning > > Yes, I really hate merge modules. Wixlibs are much better. Always > have issues with merge modules I haven't authored. > > -- > John Merryweather Cooper > Build & Install Engineer - ESA > Jack Henry & Associates, Inc.® > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > > -----Original Message----- > From: Kathy Morey > Sent: Wednesday, July 10, 2013 4:22 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Resolve Light 1056 Warning > > FYI > > It turns out that, although John's suggestion did work, different > Microsoft merge modules have different values for some of the standard > folders, and so I will be following Rob's suggestion and just ignoring > those warnings. > > Thanks. > > -----Original Message----- > From: Kathy Morey > Sent: Wednesday, July 10, 2013 5:08 PM > To: 'General discussion for Windows Installer XML toolset.' > Subject: RE: Resolve Light 1056 Warning > > Thanks, John. > > That did it for me. > > > -----Original Message----- > From: John Cooper > Sent: Wednesday, July 10, 2013 12:50 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Resolve Light 1056 Warning > > I was able to get the ".:System32" by using > > <Directory Id="ExperiementFolder" Name="." SourceName="System32"> > <Component Id="ProductComponent" Guid="*"> > <File KeyPath="yes" > Source="$(var.SolutionDir).nuget\NuGet.exe" /> > </Component> > </Directory> > > -- > John Merryweather Cooper > Build & Install Engineer - ESA > Jack Henry & Associates, Inc.® > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > > -----Original Message----- > From: Kathy Morey > Sent: Wednesday, July 10, 2013 11:22 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Resolve Light 1056 Warning > > I am creating a WiX installer for an application that requires some > Microsoft merge modules. > > I'm getting several warnings like: > > warning LGHT1056: The Directory table contains a row with primary > key(s) 'SystemFolder' which cannot be merged from the merge module > 'C:\_blah\blah\COMCAT.MSM'. This is likely due to collision of rows > with the same primary key(s) (but other different values in other > columns) between the database and the merge module. > > I looked at the merge module and my MSI with Orca and found this > difference in the DefaultDir column of the Directory table: > > MM DefaultDir - .:System32 > My DefaultDir - System32 > > How do I author my project so that I get the ".:" designation in the > DefaultDir column? > > Kathy Morey > Synergy Software Engineer > Profitstars, a Jack Henry Company > 700 Tower Drive, Suite 600 > Troy MI 48098 > Office: 248.879.0316 ext. 454809 > Email: kmo...@profitstars.com > NOTICE: This electronic mail message and any files transmitted with it > are intended exclusively for the individual or entity to which it is > addressed. > The message, together with any attachment, may contain confidential > and/or privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message > in error, please immediately advise the sender by reply email and > delete all copies. > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it > are intended exclusively for the individual or entity to which it is > addressed. > The message, together with any attachment, may contain confidential > and/or privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message > in error, please immediately advise the sender by reply email and > delete all copies. > > > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it > are intended exclusively for the individual or entity to which it is > addressed. > The message, together with any attachment, may contain confidential > and/or privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message > in error, please immediately advise the sender by reply email and > delete all copies. > > > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it > are intended exclusively for the individual or entity to which it is > addressed. > The message, together with any attachment, may contain confidential > and/or privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message > in error, please immediately advise the sender by reply email and > delete all copies. > > > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users