I'm using Visual Studio integration. Passing a -d to candle is equivalent to doing a <?define VERSION="0.3.0"?> isn't it? Using the pre-processor define works for me.
Using a WixVariable is equivalent to passing -dVersion=0.3.0 to light as variables are resolved at link time. Cheers Russell On Thursday, 16 July, 2009, at 08:20AM, "Konstantin Vlasenko" <konstantin.vlase...@gmail.com> wrote: >Whad do you use for building your setups? I had defined the variable in the >CCnet build project. Then I put it to candle -dVersion=$(MyCCNetVersion). Or >candle -dVersion=1.2.3. > >2009/7/16 Konstantin Vlasenko <konstantin.vlase...@gmail.com> > >> I see. It looks like the some problem with the "WixVariabl". >> >> ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users