Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installshield installation ask the user to have iisadmin on a machine with iis7 installed

I am creating an installation that is adding a web site to IIS. But when I am trying to run the installation on a machine with IIS 7 installed and IIS 6 compatibility mode not installed, it fails the installation with:

Error 1920.Service IISADMIN (IISADMIN) failed to start. Verify that you have sufficient privileges to start system services

If I install the compatibility feature it fixes the problem and the installation succeeds. I want to know if there is a way to not install this feature on IIS 7. Or if it must be installed - how can I install it automatically?

btw, I have installShield 2011 Professional.

like image 812
Ben Laniado Avatar asked Nov 30 '25 13:11

Ben Laniado


1 Answers

Eventually what I did is to run as custom actions this lines

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

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

Thanks for Cosmin Privu help Ben

like image 119
Ben Laniado Avatar answered Dec 03 '25 08:12

Ben Laniado



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!