tdartt
Posts: 2
Joined: Wed Dec 04, 2013 6:18 am

IIS not installing

I am trying to build an installer which will set up iis 8 on a clean install of windows 7 if iis is not installed.
I've tried installing iis using a windows feature bundle, and I've attempted to install the iis 8 prequisite bundle.
I also install .net 4
It seems to run, but as soon as it finishes with the prerequisites and tries to install the files to the wwwroot directory it gives me a message saying that a minimum of iis 7 needs to be installed :(
What do I need to do to get iis 7 or 8 installed?
Thanks!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: IIS not installing

Hello and welcome to Advanced Installer forums,

Unfortunately, IIS 8.0 isn't supported on Windows 7. Only the express edition is supported Down-level on Windows 7 Platforms. You can take a look on "IIS 8.0 - Supported platforms and architectures" article.

However, you can install IIS 7 on Windows 7. In order to achieve that you can create an additional installation package which will only configure the IIS Windows features.
Also you can disable the Register product with Windows Installer option from product details page.

Then, you can go in you main installation package and in the prerequisite page add the previos created installation package as a Pre – Install Prerequisite using the [ New Package Prerequisite ] toolbar button. Also, you should create a new install condition for the prerequisite using the [ New... ] button. The Edit Prerequisite Search Dialog will be displayed allowing you to specify a new search.
You can have something like that:
  • Criteria: Registry key exists
    Registry key: HKLM\SOFTWARE\Microsoft\InetStp\Components
You should use this condition in order to execute the prerequisite installation only on the machines where the IIS is not installed.

Please let us know if that helped, otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”