In this case, I think the documentation needs to be updated.  I say "think" 
because Derek actually did a lot of the clean-up in the Preprocessor to make it 
behave better (define's were particularly onerous).  In a lot of cases, he 
simplified the number of supported cases.

However, if we need the original syntax, someone can argue for it.  Either way, 
a bug would be appreciated.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorne Laliberte
Sent: Wednesday, December 13, 2006 15:50
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] <?define foo ?> is invalid - bug in documentation?

Hello list! :)

According to the WiX.chm/Tools/Preprocessor topic, this should be valid:

<?define IExist ?>

However, candle flags that with a CNDL0151 error:

The define statement '<?define IExist ?>' is not well-formed.  Define
statements should be in the form <?define variableName = "variable
value"?>.

Either this is a bug in 3.0.2211.0, or the documentation needs to be
updated.

Current workaround/new syntax :) seems to be to use this:

<?define IExist="" ?>

...which does not produce any error.

...Lorne Laliberte


-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

Reply via email to