cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
henryt1
Level 3

How to detect IIS 7 installed roles and services...

greetings all,

In order for my InstallScript vbscript custom action code to execute, I need to require that the user have the following IIS 7 roles and services installed:

IIS Management Console
IIS Management Scripts and Tools
All of the IIS 6 Management Compatibilty roles and services

I have found the necessary registry keys to check for under HKLM at:

HKEY_LOCAL_MACHINE\Software\Microsoft\InetStp\Components

But, I also need to make sure that the Application Server's Application Server Foundation and Web Server (IIS) Support role services are installed or my InstallShield will crash when attempting to do app mapping for the new website it attempts to install.

SO, my question is: Does anybody out there know how I can detect the
Application Server's Application Server Foundation and Web Server (IIS) Support role services? I can't find registry keys for them after searching for a couple of days.

Perhaps there is another way besides registry keys? file system?

thanks in advance
henry
:eek:
Labels (1)
0 Kudos
(1) Reply
pmatlock
Level 6

Henry,
Did you ever find a solution to this? I am using InstallScriptMSI project, and I need to verify that a Role for Web Server (IIS) has been installed. I also need to verify that various features have been installed on the server, such as WCF Activation.

Any help/direction would be greatly appreciated.

Thanks,
Pam
0 Kudos