cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
BChizever
Level 2

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
Labels (1)
0 Kudos
(1) Reply
rguggisberg
Level 13

Sounds like it is doing a string compare rather than a numeric compare (10 would come before 6 if comparing an ascii string).
0 Kudos