That variable comes from the project system. If you look at the 
command-line to candle.exe during the build, you'll see it (and may 
other things) passed in as the -D switch.

You've asked a couple basic questions about the preprocessor.  Have you 
read the WiX.chm documentation?

Hu, Pan wrote:
> I have the following component in my Product.wxs file for my WiX
> project:
>
>
>
> <Component Id="ProductComponent"
> Guid="17e13748-8d44-47f6-b020-66d29f8a84fe">
>
>             <File Id="InstallationTarget.exe"
>
>
> Source="../../InstallationTarget/bin/Debug/InstallationTarget.exe"></Fil
> e>
>
>           </Component>
>
>
>
> My question is, I want to use a preprocessor variable, i.e.
> $(var.MyApp.TargetFilePath) for the 'Source' attribute of the 'File'
> element above. In Votive 3.0, is var.<Project>.TargetFilePath a built-in
> preprocessor? How do I define this in the project properties? Thanks!
> -Pan
>
> Pan Hu, Application Engineer  |   EDS - HP |  202-414-8528  |
> pan...@eds.com
>
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to