Installshield will ask the user to have iisadmin on the computer with iis7 installed

I am creating an installation that adds a website to IIS. But when I try to start the installation on a computer with IIS 7 installed, and IIS 6 compatibility mode is not installed, it does not install using:

Error 1920. The IISADMIN service (IISADMIN) did not start. Confirm that you have sufficient privileges to start system services.

If I install the compatibility function, it fixes the problem and the installation completes successfully. I want to know if there is a way not to install this feature in IIS 7. Or, if it should be installed - how can I install it automatically?

By the way, I have InstallShield 2011 Professional.

+3
source share
2 answers

Ultimately, what I did was run the following lines as user actions

dism /online /enable-feature /featurename:IIS-IIS6ManagementCompatibility
dism /online /enable-feature /featurename:IIS-Metabase

and use as condition Not set and IIS_VERSION> "# 6"

Thanks for the help Cosmin Privu Ben

+2
source

You can try adding a compatibility fix as a custom prerequisite for your package: http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/SetupPrereqEditor.htm

For example, you can create a custom EXE that uses pkmgr.exe to install the IIS-IIS6ManagementCompatibility function, like installing it from the control panel).

, , IIS 7. , , IIS 7.

+1

All Articles