Page 1 of 1

Incorrect detection of IIS-Version under Windows 2000

Posted: Thu Mar 17, 2005 5:43 am
by casic
Hi there !

My setup checks the IIS version (minimum IIS version 5.0) and this works fine under Windows XP Pro and Windows 2003 Server. But under Windows 2000 Pro the detection fails (error message from the setup that the minimum requirements are not reached). I checked the version of windows 2000 pro and IIS version 5.0 is installed. I hope you can fix this issue.

Thank you in advance,

Markus

Posted: Thu Mar 17, 2005 7:59 am
by sinan
The routine tests the following key:

HKLM\\SOFTWARE\\Microsoft\\INetStp

And reads these values:

MajorVersion
MinorVersion

For IIS 5, MajorVersion must be at least 5. Can you check on your system to verify?

Posted: Fri Mar 18, 2005 5:24 am
by casic
Hi,

I checked the registry and these values are set:

MajorVersion = 5
MinorVersion = 0

My test systems:

VMWare 4.05 Windows 2000 German SP 4
VMWare 4.05 Windows 2000 Multilingual SP 4

I'm using InstallAWARE Express 3.1.0.2005

Thanx for your help,

Markus

Posted: Fri Mar 18, 2005 8:26 am
by sinan
You are right - I checked the code that is generated in the visual UI, and it is slightly incorrect. For IIS 6, the generated code checks for IIS6. For IIS 5, the generated code checks for IIS 5.1, and this is where the disparity begins.

So:

IIS6->IIS6
IIS5->IIS5.1
IIS4->IIS5
IIS3->IIS4
IIS2->IIS3

Thanks for spotting this one. So if you want to check for IIS 5, specify "IIS 4" in the visual editor instead. The code it actually generates (in the Code view) checks for IIS5, and so on...

We will naturally address this in a future update.