I just walked through the code and figured out a way to do it with a
preprocessor extension, but I didn't come up with a way to do it directly.
The WiX preprocessor was inspired by the C/C++ preprocessor, but WiX doesn't
include tokenization which is how this is performed in C's preprocessor.
-Blair
-Original Message-
From: Maillet, Ed [mailto:email...@unum.com]
Sent: Friday, January 21, 2011 2:28 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Var's building vars?
I seem to have the strange need of building a preprocessor variable from
another preprocessor variable which doesn't seem to be supported (not that I
am surprised by that).
I'm trying to do:
?define projectName = X ?
And then elsewhere:
?define FileName = $(var.$(var.projectName).TargetFileName) ?
File Id=File1
Name=$(var.FileName) ... /
The idea being only the project name is the variable and the rest are
resolved.
Am I missing something obvious this late in the day for another way to do
this?
- Ed
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users