I'm not sure how Buildtracker works but I can see a few solutions (in priority order).
1. The ideal way is to use Candle's -platform switch which sets the preproc system variable sys.PLATFORM. So you would do something like: -<Package Platform="$(sys.PLATFORM)" /> -Then call >candle.exe product.wxs -platform [x86|x64|ia64] Unfortunately, there is a bug in candle that won't let you do this right now :) You can keep an eye on it to see when it gets fixed: http://sourceforge.net/tracker/index.php?func=detail&aid=1928162&group_id=105970&atid=642714 2. A second option is to set a preprocessor variable on the command line call to candle -<Package Platform="$(var.PLATFORM)" /> ->candle.exe product.wxs -dPLATFORM=[intel|x64|intel64] 3. Lastly you can use an environment variable -<Package Platform="$(env.PLATFORM)" /> -set the environment variable %PLATFORM% to [intel|x64|intel64] ->candle.exe product.wxs Hope that helps. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of WiXButterfly Sent: Thursday, March 27, 2008 5:57 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Inbuilt variable for identifying preprocessor Hello I need to set the 'Platforms' attribute on the 'Package' element to be x64 or otherwise depending on the arguments supplied while building the wxs. Is there an in-built variable in Wix that will help me determine that? Builds are generated for both the x86 and x64 platforms by Buildtracker, so I need to be able to set the Platforms element based on the arguments supplied by Buildtracker to build each of them. If an in-built variable is not available, I guess a pre-processor variable will need to be supplied, but what is the way to do that in an automated build and deployment process? Thanks, Sameeksha -- View this message in context: http://www.nabble.com/Inbuilt-variable-for-identifying-preprocessor-tp16343593p16343593.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users