That worked.  
 
I re-read the documentation and I now see this mentioned, but it's not 
especially clear.  Is there a formal process for updating the documentation?
 
Thanks,
Kevin


Date: Thu, 7 Jun 2007 15:09:06 -0400From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; 
[EMAIL PROTECTED]: Re: [WiX-users] Define constants not working with candle in 
3.0.2921.0?



Your ifdef should look like
<?ifdef Debug?>
 
-Brian Simoneau


-----Original Message-----From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
Behalf Of Kevin FischerSent: Thursday, June 07, 2007 2:44 PMTo: [EMAIL 
PROTECTED]: [WiX-users] Define constants not working with candle in 
3.0.2921.0?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

Change is good. See what's different about Windows Live Hotmail. Check it out! 
_________________________________________________________________
Make every IM count. Download Windows Live Messenger and join the i’m 
Initiative now. It’s free.  
http://im.live.com/messenger/im/home/?source=TAGWL_June07
-------------------------------------------------------------------------
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