This might work: <?if $(sys.BUILDARCH) = x64 ?> ... <?else?> ... <?endif?>
CONFIDENTIALITY The information contained in this message is confidential. It is intended to be read only by the individual or entity to whom it is addressed or by an authorized designee. If the reader of this message is not the intended recipient, be aware that distribution of this message in any form is strictly prohibited. If you have received this message in error, please immediately notify the sender and destroy any copy of this message. ----- Original Message ----- From: "Sean Farrow" <sean.far...@seanfarrow.co.uk> To: wix-users@lists.sourceforge.net Sent: Thursday, September 30, 2010 2:30:30 PM Subject: [WiX-users] wix preprocessor and votive Hi: Is there a defined variable within the wix pre-processor that allows me to detect the currently active platform I'm compiling for in visual studio. I have a project with both win32, and x64 platforms, and I want to #ifdef code based on the platform in my wix source. Cheers Sean. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users