[wix-users] Referring a fragment contained in a wixlib

Rob Mensching rob at firegiant.com
Thu Jul 19 09:08:17 PDT 2018


> So it seems to me that for some reason the linker does not only link the referenced fragments from the wixlib, but the whole wixlib.

That is not how the linker is supposed to work.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Reuss, Matthias via wix-users
Sent: Thursday, July 19, 2018 2:44 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Reuss, Matthias <matthias.mr.reuss at sivantos.com>
Subject: [wix-users] Referring a fragment contained in a wixlib

Hello,

we have modularized some parts of our WiX code in a wixlib. To be more precise, the wixlib is built from 6 wxs files with one fragment each.

Some products references some of these fragments using ...Ref tags.

This works well for several products, however, for one product light gives several "Duplicate symbol" errors. These errors refer to custom actions that are defined both in a product-specific fragment and in a fragment of the wixlib that - as far as I can see - is not referenced by this product at all.

This error persists even if I put the questionable Custom Actions in a separate fragment in my wixlib.

So it seems to me that for some reason the linker does not only link the referenced fragments from the wixlib, but the whole wixlib.

In addition, is there some linker setting (command-line or wixproj) that alklows me to track why the linker linked a certain fragment?

Best regards,

Matthias Reuss

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list