Hi Bob, Thanks, tht did the trick!
I also found out that I had to undef the variable before redefining it. If I didn't do that Candle wouldn't redefine the variable and would kick out a warning about it. The final construct is: <?ifdef env.REVISION ?> <?undef BUILD ?> <?define BUILD=$(env.REVISION) ?> <?endif?> Thanks again! ---------------------------------------------------------------------- Date: Sun, 05 Apr 2009 21:04:03 -0400 From: Bob Arnson <b...@joyofsetup.com> Geoff Kennedy wrote: > <?ifdef $(env.REVISION) ?> > <?define BUILD=$(env.REVISION) ?> > <?endif?> > Try dropping the $(...) surroundings. <?ifdef?> wants the name of a variable, whereas $(...) says to expand that variable in-place. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users