For IIS8 with Windows Server 2012 (and possibly Windows 8), you can check this registry key (for .NET 4.5)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache\NET-WCF-HTTP-Activation45\InstallState
zero means that it is not installed, and 1 tool is installed.
Bill moon
source share