References start at the Product and work down.  If a Fragment does not get a 
reference into it, it will never be included in the build.  Would that explain 
the behavior you are seeing?

-----Original Message-----
From: Brian Gillespie [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 15:13
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Bug in FeatureRef?

WiX release 3.0.4513.0

When I use a ComponentRef inside a FeatureRef inside a Fragment file,
the File in my single Component doesn't end up in my MSI. However, if I
move the FeatureRef into the main Product file, it works as I expect.

Confused? Me too. Here's a tiny WiX project that gives the warning:
http://download.mcneel.com/individual/c391d788-6d4c-4c77-9162-749cf19289e1/LayoutTest.zip

If I move the FeatureRef block from WixFile1.wxs (the fragment) to
LayoutTest.wxs (the Product) it works as I hoped it would work originally.

Ultimately I hoped to use this type of arrangement to partition an
installer with hundreds of files and scores of features such that all
the XML for each feature is in one fragment.

Thanks for your help,
  - Brian

Brian Gillespie
Rhinoceros Development
Robert McNeel & Associates


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to