Getting Error: This Setup Requires Internet Information Server 5.1 or higher and Windows XP and higher when installing setup project on windows server 2008 and IIS 7


 

Introduction:

I was getting the error:

This Setup Requires Internet Information Server 5.1 or higher and Windows XP and higher when I was trying to install a setup project on windows server 2008 with IIS 7.0.

After 1 hour of searching, I discovered there was some configuration problems with the Conditions Editor (Requirements on Target Machine)

Capture0

Walkthrough:

  • Go to the setup project setup and Launch the Conditions Editor.

Untitled

  • Right click on the IIS Condition and view the properties

image

  • Check Condition Formula; it should as the following:

(IISMAJORVERSION >= "#5" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#6"

In the above case, the minimum IIS Version required is 6.

If you want to install on IIS Version 7.5 and above then use the below condition formula:

(IISMAJORVERSION >= "#7" AND IISMINORVERSION >= "#5")

Comments (6)

  1. Shrikant says:

    In y machine iis 6 is available but still i get error

  2. Bhanodaya says:

    Did you try to run this installer in Windows 10 Pro system?

  3. Bhanodaya says:

    I tried the above solution… couldn’t work.

    I am searching for solution for 2 days… I think nobody face this problem…

    I developed a web service and installer. It was installed successfully in IIS 7 and IIS 8.

    When I upgrade my Windows 7 Pro system to Windows 10…. I could not install the same web service installer.

    Anybody please help me.

    Many thanks in advance

  4. Christian Sanabria says:

    Same issue with setup project execution -VS 2013 Update 4- in Windows 10

  5. Ahmad Qarshi says:

    It worked for me on Windows 10 Pro with IIS 10.0. I just modified the condition like
    (IISMAJORVERSION >= "#5" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#10"