title: WiX: Installer always changes AppPool to enable 32bit app
body: <p>WiX installer installs silverlight web application. It can work under 32 or 64 bit app pool. But when installation completed  I see that selected app pool always set to Enable 32-bit applications.It is even for 64-bit pools. It is not sutiable because it can change existing pool for previously installed 64 applications. 
  I do not change explicitely this parameter. What is the reason of problem may be?</p>
  
  <p>The code sample added:</p>
  
  <pre><code>&lt;Component Id="WebAppVDirComponent"
      Guid="C7A4B0E8-2389-4A2A-B285-96960BEE1C52" KeyPath="yes"&gt;
      &lt;Condition&gt;&lt;![CDATA[RBGROUP_HOSTING = "iis"]]&gt;&lt;/Condition&gt;
          &lt;iis:WebVirtualDir Id="VDir"
                  Alias="[WEB_APP_NAME]"
                  Directory="INSTALLDIR"
                  WebSite="TheWebSite" &gt;
          &lt;iis:MimeMap Id="SilverlightMimeType" Extension=".xap" Type="application/x-silverlight-app" /&gt;
          &lt;iis:WebApplication Id="WorkWebApplication"
                  Name="[WEB_APP_NAME]" WebAppPool="TheAppPool"/&gt;
          &lt;/iis:WebVirtualDir&gt;
          &lt;iis:WebAppPool Id="TheAppPool" Name="[APP_POOL_NAME]" &gt;&lt;/iis:WebAppPool&gt;           
          &lt;CreateFolder/&gt;
  &lt;/Component&gt;
  </code></pre>