Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IIS 10 support - conditional IIS version detection #4849

Closed
wixbot opened this issue Aug 4, 2015 · 1 comment
Closed

IIS 10 support - conditional IIS version detection #4849

wixbot opened this issue Aug 4, 2015 · 1 comment

Comments

@wixbot
Copy link

wixbot commented Aug 4, 2015

I have a text control with the following condition:

<Control Type="Text" Id="noSupportedIISInfo" Width="280" Height="42" X="30" Y="120" Text="Because the installed version of IIS is not supported, installation is available only as a Windows Service." Hidden="yes">
      <Condition Action="show"><![CDATA[IISMAJORVERSION AND IISMAJORVERSION <= "#5"]]></Condition>
  </Control>

The problem is that the above condition is true on Windows 10 where IIS 10 is installed. What can I see from the log is:

PROPERTY CHANGE: Adding IISMAJORVERSION property. Its value is '#10'.

so it seems that

    "#10" <= "#5" 

returns true while I would expect the result to be false because the values should be considered as numbers not strings. Would be great to have it solved in WiX - support for next IIS versions.

Originally opened by arek

@wixbot
Copy link
Author

wixbot commented Aug 4, 2015

That's how MSI works: It has only string comparisons and '1' < '5'. I opened a new feature request to simplify: http://wixtoolset.org/issues/4851/

Resolution set to bydesign
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.10 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant