I believe it also controls the default bit-ness for the "Win64" attribute on 
certain things like RegistrySearches, Components, and binary Custom Actions (if 
you specify a 64-bit architecture, these will default to 64-bit).

To see where it's used in the code, I'd open src\wix\compiler.cs and search for 
"currentplatform". Once you get past the initial few results (which are just 
common infrastructure), you'll see where it actually takes effect.

Thanks,
Mike Carlson

-----Original Message-----
From: Quinton Tormanen [mailto:quint...@deltacompsys.com] 
Sent: Wednesday, September 02, 2009 8:21 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] candle -arch

Rob's latest blog refers to the -arch option for candle. I can't find
any documentation for what that does example. It apparently implicitly
sets the Package/@Platform. What else does it do? I tried following it
in the code, but got lost pretty quick.

My project uses $(var.Platform) in Package/@Description,
Package/@Comments, Package/@Platform, and in the precompiler to choose
launch conditions. I just set it using candle -dPlatform=... 

Quinton Tormanen
Software Engineer
Delta Computer Systems, Inc.
http://www.deltamotion.com



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to