Unless you're sharing Merge Modules with other (non-WiX based) installation tools then I highly recommend using .wixlibs instead of Merge Modules: http://www.robmensching.com/blog/posts/2008/10/10/What-are-.wixlibs-and-why-would-you-use-them
That said, the dependency information between Merge Modules is only used by validation. It is not used to automatically include dependent Merge Modules for you. I'm not sure if you are expect that or not. You need a Merge and MergeRef element for each Merge Module you want included in your Product. The Merge element goes under the Directory you want the Merge Module to be redirected to (if the Merge Module allows that) and the MergeRef goes under the Feature(s) you want the Merge Module installed by. I don't quite understand the organization of your product enough to provide any more concrete suggestions. If you can provide more details about your product and how it must be laid out, might be able to help more. On Mon, Sep 10, 2012 at 8:31 AM, StevenOgilvie <sogil...@msn.com> wrote: > Hi all, > > I have decided to use merge modules for all of the file set, since we have > some files that are shared and will be easier to update/upgrade later on… > > I have 4 Services Merge modules that are installed to c:\program > files\Company\Product\Services\ Service 1.. Service2.. Service3.. > Service4.. > > There are two merge modules of shared files that must be installed to each > of the 4 services… > > I am using WIX 3.6 and Visual Studio 2010… each of the 4 services MM have > the 2 shared MM referenced and I have added them as dependency elements… > > Code in each of the 4 services merge modules: > > <Dependency RequiredId="NServiceBusMM.XXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX" > RequiredLanguage="1033" RequiredVersion="1.0.0.0" /> > <Dependency > RequiredId="SharedServicesMM.XXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX" > RequiredLanguage="1033" RequiredVersion="1.0.0.0" /> > > However when running the install the 2 shared MM files do not install > > Question 1: Is this not possible to do with Merge Modules? Sigh… > Question 2: What should be done in the Product.wxs file regarding > these two shared merge modules? I only want them installed with the > services… > > Thank you in advance!! > > Steve Ogilvie > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/problem-using-merge-module-dependency-tp7580394.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users