This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to detect if the ASP.NET feature is installed in Windows 7?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2009
02:12 PM
How to detect if the ASP.NET feature is installed in Windows 7?
I need a way to determine if the ASP.NET feature is installed on Windows 7. In Windows 2008 we can query the WMI object Win32_ServerFeature, however, this object is not available on Windows 7.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
01:55 AM
Probably you can check in registry :
HKLM\\SOFTWARE\\Microsoft\\ASP.NET
If the above key exists then check for "iis_inetmgr" value under "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\Oc Manager\\Subcomponents". If the value is 1, then ASP.NET is installed.
--Mrunmayee
HKLM\\SOFTWARE\\Microsoft\\ASP.NET
If the above key exists then check for "iis_inetmgr" value under "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\Oc Manager\\Subcomponents". If the value is 1, then ASP.NET is installed.
--Mrunmayee
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2009
02:03 PM
The HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\Oc Manager\\Subcomponents registry key did not contain any "iis" values.
I discovered that I can query the Win32_OptionalFeature WMI object to check if the object named IIS-ASPNET is present.
I discovered that I can query the Win32_OptionalFeature WMI object to check if the object named IIS-ASPNET is present.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)