title: Platform identification in WiX 3.0
body: <p>I am facing issues when migrating the managed code from x86 to x64 platform. I have a WiX project to create an <a href="http://en.wikipedia.org/wiki/Windows_Installer" rel="nofollow noreferrer">MSI</a> which will be executed through Bootstrapper.</p>
  
  <p>On an x86 platform, files get copied in “Program Files” as per the Project.wxs file. But if the same MSI is installed on an x64 platform through Bootstrapper, all the installation files get copied by default in “Program Files (x86)” and the application’s functionality failed as it could not find the necessary files in the 12-hive hierarchy of Program Files (for 64-bit it is “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG”).</p>
  
  <p>I have tried using preprocessor variables like &lt;?if $(var.ProcessorArchitecture)=x64 ?>, but I need to hardcode this variable in the project property to either x86 or x64. Finally I end up with two different MSIs for two different platforms which is not a desirable solution for me.</p>
  
  <p>So, through WiX, is it possible to identify the platform to ensure installation at the desired location?</p>