Hi, I had a go at configurable merge modules a while back from another mailing list post, but never needed to use them as I converted the dependent MSM to a wixlib.
I think I got this to work, it passes the DBNAME property to the merge module. Add to a merge module wix file. <Configuration Name="DBNAME_Property" Format="Text" NonNullable="yes" DefaultValue="defaultValue" /> <Property Id="DBNAME" Value="unset"> </Property> <Substitution Table="CustomAction" Row="setdbname" Column="Target" Value="[=DBNAME_Property]" /> <CustomAction Property="DBNAME" Value="[DBNAME]" Id="setdbname" Execute="immediate" /> <InstallExecuteSequence> <Custom Action="setdbname" After="LaunchConditions" /> </InstallExecuteSequence> add to the calling wix <Property Id="DBNAME" Value="toplevelunset" /> <Merge Id="blob" DiskId="1" Language="1033" SourceFile="..\mergey\mergey.msm"> <ConfigurationData Name="DBNAME_Property" Value="[DBNAME]" /> </Merge> Dave W. -----Original Message----- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: 28 May 2009 14:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Passing Property into MergeModule I've also never seen any solid instructions or advice on how to use a configurable merge module. No one seems to actually know how. Chris On Wed, May 27, 2009 at 10:21 PM, Rob Mensching <r...@wixtoolset.org> wrote: > The Merge Module would need to have a public Property and you'd have > to refer to it with its modularized Id in your MSI. > > Or you could use Configurable Merge Modules but they are usually more > complicated than worth the effort. > > Shree Krishnamurthi wrote: > > Hi > > > > I would like to pass a property from my master setup (ie msi ) to > > one of the merge modules. > > > > Is it possible? Can someone explain how this can be done? > > > > > > > > Thanks > > > > Shree > > > > > ---------------------------------------------------------------------- > -------- > > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > > is a gathering of tech-side developers & brand creativity professionals. > Meet > > the minds behind Google Creative Lab, Visual Complexity, Processing, > > & iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ---------------------------------------------------------------------- > -------- Register Now for Creativity and Technology (CaT), June 3rd, > NYC. CaT is a gathering of tech-side developers & brand creativity > professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian Group, R/GA, & Big Spaceship. > http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users