I have some code like this:
 
<?ifdef $(var.Debug) ?>
<?define Flavor2="Debug" ?>
<?else?>
<?define Flavor2="Release" ?>
<?endif?>
<File Id="MyExe" Name="MyExe.exe" Source="$(var.Flavor2)\MyExe.exe" />
 
The command line for candle looks like:
candle.exe -dDebug  -out obj\Debug\Base.wixobj -ext 
..\..\..\..\v1_tools\wix\bin\WixUtilExtension.dll Base.wxs
 
But, I'm seeing $(var.Flavor2) evaluate to "Release".  I would've expected it 
to be Debug based on the -dDebug on the candle command line.
 
Am I doing something wrong?  Or is there possible a bug in candle?
 
I've also tried "-dDebug=1", but that didn't help.
 
Thanks,
Kevin
_________________________________________________________________
With Windows Live Hotmail, you can personalize your inbox with your favorite 
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to