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-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

Reply via email to