I don't think there is an elegant way to do this, as the Wix tools (or
any other tools for that matter) can't predict what ComponentRef's you
want under which features.
Most of our installers here have one feature, so here's the poor-man's
version of what I do (in Visual Studio):
Compile your project once without the ComponentRef's.
Copy all the output lines that complain about orphaned components (it
always groups these together.)
Paste those lines under my feature.
Use some clever search and replace commands to convert error messages to
valid ComonentRef tags.
-Matt
_____
From: Steve Bennett [mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 3:18 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating features with lots of components
Hi all,
Is there a good way to generate the code for a feature with lots of
components? Generating the code for the components is ok with
tallow/mallow. But is there a slightly elegant way to generate all the
<componentref> tags? Short of awk or similar?
Surprisingly WiXEdit doesn't seem to do this.
Steve
Steve Bennett
[POWERflex Corporation ]
[Tel: +61-3-9548-9006 Fax: +61-3-9548-9003]
[Email: spb @ pfxcorp.com Web: www.pfxcorp.com]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users