Different merge modules.. I was trying to get rid of merge modules and putting 
it all in the product.wxs and still use the 10 wishing
______________________
Steven Ogilvie

Sent from my BlackBerry...

3 - 45 Bertrand Street
Ottawa, ON
Canada
K1M 1Y5

Mobile: +1 613 299-2121
E-mail:  sogil...@msn.com

-----Original Message-----
From: "Rob Mensching-7 [via Windows Installer XML (WiX) toolset]" 
<ml-node+s687559n7582638...@n2.nabble.com>
Date: Thu, 3 Jan 2013 23:53:08 
To: <sogil...@msn.com>
Subject: Re: WixLibs questions...

        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 <[hidden email] 
</user/SendEmail.jtp?type=node&node=7582638&i=0> >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:[hidden email] 
> </user/SendEmail.jtp?type=node&node=7582638&i=1> ] 
> 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 <[hidden email] 
> </user/SendEmail.jtp?type=node&node=7582638&i=2> 
> >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:[hidden email] 
> > </user/SendEmail.jtp?type=node&node=7582638&i=3> ] 
> > 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:[hidden email] 
> > </user/SendEmail.jtp?type=node&node=7582638&i=4> ] 
> > 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:[hidden email] 
> > </user/SendEmail.jtp?type=node&node=7582638&i=5> ] 
> > Sent: 02 January 2013 18:49 
> > To: [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=6> 
> > 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 
> > [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=7> 
> > 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 
> > [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=8> 
> > 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 
> > [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=9> 
> > 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 
> > [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=10> 
> > 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 
> [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=11> 
> 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 
> [hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=12> 
> 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 
[hidden email] </user/SendEmail.jtp?type=node&node=7582638&i=13> 
https://lists.sourceforge.net/lists/listinfo/wix-users
                                
        
        
----------------
        
                
If you reply to this email, your message will be added to the discussion below: 
                
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixLibs-questions-tp7582603p7582638.html
          
                                To unsubscribe from WixLibs questions..., click 
here 
<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=7582603&amp;code=c29naWx2aWVAbXNuLmNvbXw3NTgyNjAzfC0xMzAxOTI3MzMx>
 .
                NAML 
<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixLibs-questions-tp7582603p7582639.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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

Reply via email to