The .wixproj file defines the Platform property that should be getting passed 
automatically to candle. You should be able to use something like this:

<?if $(var.Platform) =  'value' ?>
...
<?else?>
...
<?endif?>

Where 'value' is one of the platforms defined for your project.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
> Sent: Thursday, September 30, 2010 2:31 PM
> To: wix-users@lists.sourceforge.net
> 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

Reply via email to