title: IIS Launch Condition in WebSetupProject fails to detect IIS 10 on Win10
body: <p>Our WebSetupProjects (created in VisualStudio 2010) fail to properly detect version of IIS on Win10.</p>
  
  <p>My thought is that it has to do with the way how this condition is spelled out - note the double-quotes:</p>
  
  <pre><code>     (IISMAJORVERSION &gt;= "#5" AND IISMINORVERSION &gt;= "#1") OR IISMAJORVERSION &gt;= "#6"
  </code></pre>
  
  <p>so even though registry check in <code>HKLM\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters</code> for <code>MajorVersion</code> and <code>MinorVersion</code> returns <em>dword-integer</em> values, they are being coerced into <em>string</em> representation, therefore resulting in "10" being <em>less</em> than "5" or "6" - thus failing the check.</p>
  
  <p>I haven't tried removing double-quotes yet, but am afraid they may be there for a reason (i.e. without them the check won't work properly).  Still, will attempt this once i get a chance, and will report on it.</p>
  
  <p>In the meantime, has anyone encountered the same scenario and found how to solve it?</p>