Hi! i need to have an MSI launch condition to check if the IIS6 Metabase compatibility component is installed.
I've read over this page -> http://learn.iis.net/page.aspx/135/discover-installed-components/ the registry key i need to look at.
My launch condition consists in reading a specific registry key (HKLM\SOFTWARE\Microsoft\InetStp\Components\Metabase) and check if the value equals the string "1".
The problem is that my launch condition works fine on every windows version except for Windows Server 2008 where the value always equals an empty string "" even if components is installed or not.
I did test it over a Vista x86 and it worked good. I also tested it onto a Windows 7 x64 and it also worked fine. But i im testing it over my Win2008 x64 i just can't have the registry value.
I also tried reading the HKLM\SOFTWARE\Wow6432Node\Microsoft\InetStp\Components\Metabase key but i got the same results.
My MSI is built from Visual Studio 2008 (and i also tried it from a Visual Studio 2010 where i got the same error). I think the error might come from the way Visual Studio reads the registry because i did a simple console application wich reads the registry key and it works fine on all windows version even my Win2008 x64.
Does anyone of you have an idea on how i could read that registry key or is there another way to detect if the IIS6 Metabase compatibility component is installed?