Skip to content

List All Installed Applications On Local Machine by C#.NET

sourav Sau

Asked Oct 6, 2006, 10:12 PM EDT1 answer
Share
LinkedInX
Hello
i wnat to retrive all insatalled softwares names(like plugins,which search engine is installed etc) thorugh my C#.Net windows application.
I was trynig to use the registry path "LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVe rsion\Uninstall" to retrive that informations.But i ma unable to use this registry path properly.
please help me to find a solution..

Or is there ay other way to retrive these information of local machine...

Please reply so that i can do this.

Thanks and regards

Sourav
 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    The registry path you listed does have the installed software.  You need to use the Registry and RegistryKey classes to retrieve the DisplayName for each installed software application.  Use GetSubKeyNames to get all the GUID folders reprenting applications under the Uninstall Key.  Then loop through each of these GUID names and call RegistryKey.OpenSubKey(name).  Get the DisplayName in each of these sub keys.

    Best,

    -Mike G
    0