Just for the record - this approach isn't working.
1) HKLM\Software\Microsoft\Microsoft SQL Server\90\ - Key isn't in 90,
but in HKLM\Software\Microsoft\Microsoft SQL Server\
2) InstalledInstances is mutistring value as result search variable SQLINSTALLED is always empty
In my case I needed to know ...
FOLLOW US
Get the latest news in Application Packaging