title: WiX IIS Metabase Property
body: <p>Is there a way to get the <code>Enable32BitAppOnWin64</code> metabase property in WiX for IIS6?</p>
  
  <p>I'm installing a web app and need to run <code>aspnet_regiis.exe</code> on a 64bit machine that has IIS set to 32bit mode. To get the path to the exe, I'm using the following:</p>
  
  <pre><code>&lt;!--&lt;?if $(var.Platform) = x64 ?&gt;--&gt;
      &lt;SetProperty Id="ASPNETREGIIS" Sequence="execute" Before="ConfigureIIs" Value="[NETFRAMEWORK20INSTALLROOTDIR64]aspnet_regiis.exe" /&gt;
  &lt;!--&lt;?else ?&gt;
      &lt;SetProperty Id="ASPNETREGIIS" Sequence="execute" Before="ConfigureIIs" Value="[NETFRAMEWORK20INSTALLROOTDIR]aspnet_regiis.exe" /&gt;
  &lt;?endif ?&gt;--&gt;
  </code></pre>
  
  <p>However, when 32bit mode is enabled, I can't rely on the platform to get the correct path of the exe.</p>