Right, that makes sense to me. How did you use the Merge Module to get the files installed in multiple locations?
On Thu, Jan 3, 2013 at 3:33 PM, Steven Ogilvie <steven.ogil...@titus.com>wrote: > I add the wixlib project as a reference in the merge module project and > add this to the merge module: > > <Module Id="MyCorpMergeModule" Language="1033" Version="1.0.0.0"> > <Package Id="*" Manufacturer="MYCORP" InstallerVersion="200" /> > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="WixLibRedirectFolder" Name="MyCorp Product"> > > Stuff... > > </Directory> > </Directory> > > <ComponentGroupRef Id="cmpgrp_Log4Net"/> > <ComponentGroupRef Id="cmpgrp_DomainTypes"/> > <ComponentGroupRef Id="cmpgrp_MyCorpCommon"/> > > Steve > > -----Original Message----- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: January-03-13 6:01 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] WixLibs questions... > > How are you doing this with Merge Modules? > > > On Thu, Jan 3, 2013 at 8:09 AM, Peter Shirtcliffe <pshirtcli...@sdl.com > >wrote: > > > You can use them in multiple MSIs, just not the same MSI twice. We've > > had the requirement too but only because the product's architecture > > was a bit of a mess. It's worth checking to see if you could rewrite > > to share a single copy of the files - It's unlikely you'd update one > > copy and not the other. > > > > > > -----Original Message----- > > From: Steven Ogilvie [mailto:steven.ogil...@titus.com] > > Sent: 03 January 2013 14:57 > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] WixLibs questions... > > > > Aw that sucks :( > > > > Duplicating the wixlib so it can copy to different locations kind of > > depletes the purpose... > > > > What I am trying to do is get rid of Merge Modules and place the merge > > module info into the product.wxs... (components/files/custom actions > > etc) but to duplicate 10 wixlibs so I can install to different > > locations doesn't make sense... I will just revert my changes back to > > the merge module format... > > > > steve > > > > -----Original Message----- > > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > > Sent: January-03-13 5:25 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] WixLibs questions... > > > > You have to duplicate the code I'm afraid. The IDs must differ between > > the two copies. > > > > -----Original Message----- > > From: StevenOgilvie [mailto:sogil...@msn.com] > > Sent: 02 January 2013 18:49 > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] WixLibs questions... > > > > I have about 10 WixLibs and they are all binaries, an example is such: > > > > <?xml version="1.0" encoding="UTF-8"?> <Wix > > xmlns="http://schemas.microsoft.com/wix/2006/wi"> > > <?include $(var.SolutionDir)\Includes\Variables.wxi ?> > > <Fragment> > > > > <ComponentGroup Id="cmpgrp_Log4Net" > > Directory="WixLibRedirectFolder"> > > > > <Component Id="cmp_Log4Net" > > Guid="{CB08ECF2-0F34-4324-BD22-0C1A6E042252}"> > > <File Id="file_log4net" KeyPath="yes" Name="log4net.dll" > > Source="$(var.sourcePath)ThirdParty\log4net.dll"/> > > </Component> > > > > </ComponentGroup> > > > > </Fragment> > > </Wix> > > > > I use WixLibRedirectFolder in all of the wixlibs as the directory... > > > > I have 4 msi's with merge modules, I want to move the merge modules > > into the Product.WXS for each MSI... no problem, however most the of > > the merge modules have links to the wixlibs: > > <ComponentGroupRef Id="cmpgrp_Log4Net"/> > > > > In my product.wxs I have 2 merge modules that are linking/referencing > > the wixlibs, so in my product.wxs I need to install the files in the > > wixlibs to two different locations: > > > > <Directory Id="WixLibRedirectFolder" Name="bin"> (this is one) and > > <Directory Id="WixLibRedirectFolder" Name="ConfigUtil"> > > > > but I can't have a directory with the same Id... > > > > Question: > > > > How do I use a wixlib in multiple locations in the Product.wxs? Since > > I am getting this error: > > Error 2 Duplicate symbol 'Directory:WixLibRedirectFolder' found. > > This > > typically means that an Id is duplicated. Check to make sure all your > > identifiers of a given type (File, Component, Feature) are unique. > > C:\Dev\Core Technologies\Main\Setup\Admin_Console_Setup\Product.wxs > 527 > > 1 > > Admin_Console_Setup > > > > > > Steve > > > > > > > > -- > > View this message in context: > > > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixLibs- > > questio > > ns-tp7582603.html<http://windows-installer-xml-wix-toolset.687559.n2.n > > abble.com/WixLibs-questions-tp7582603.html> > > Sent from the wix-users mailing list archive at Nabble.com. > > > > > > ---------------------------------------------------------------------- > > ------- > > - > > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, > > jQuery and much more. Keep your Java skills current with LearnJavaNow > > - > > 200+ hours of step-by-step video tutorials by Java experts. > > SALE $49.99 this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122612 > > _______________________________________________ > > 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. > > > > > > > > ---------------------------------------------------------------------- > > ------- > > - > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills > > current with LearnDevNow - 3,200 step-by-step video tutorials by > > Microsoft MVPs and experts. ON SALE this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122712 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ---------------------------------------------------------------------- > > ------- > > - > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills > > current with LearnDevNow - 3,200 step-by-step video tutorials by > > Microsoft MVPs and experts. ON SALE this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122712 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ---------------------------------------------------------------------- > > -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > > HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your > > skills current with LearnDevNow - 3,200 step-by-step video tutorials > > by Microsoft MVPs and experts. ON SALE this month only -- learn more > > at: > > http://p.sf.net/sfu/learnmore_122712 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users