This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Check for IIS fails with IIS 10
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 25, 2016
12:42 PM
Check for IIS fails with IIS 10
I'm creating a basic msi installer and one of my features gets hidden (set level to 0) if IIS 6.0 or greater is not installed.
The exact condition is
(IIS_VERSION >= "#6")
where IIS_VERSION is defined in System Search by InstallShield.
When I tested this with no IIS, IIS 6.0, and IIS 7.5 it worked great.
When I tested it on Windows 10, it has IIS 10 so IIS_VERSION is set to "#10" (I've checked this in the installation log), but the condition fails.
I manually changed the appropriate reg key from 10 to 9. In that case IIS_VERSION is set to "#9" and it works.
So, am I doing something wrong or is there a bug in InstallShield.
Thanks
The exact condition is
(IIS_VERSION >= "#6")
where IIS_VERSION is defined in System Search by InstallShield.
When I tested this with no IIS, IIS 6.0, and IIS 7.5 it worked great.
When I tested it on Windows 10, it has IIS 10 so IIS_VERSION is set to "#10" (I've checked this in the installation log), but the condition fails.
I manually changed the appropriate reg key from 10 to 9. In that case IIS_VERSION is set to "#9" and it works.
So, am I doing something wrong or is there a bug in InstallShield.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 25, 2016
03:08 PM
Sounds like it is doing a string compare rather than a numeric compare (10 would come before 6 if comparing an ascii string).