C sharp : Window Installed application with their icon/logo?
I have a project to build, where I need find some particular installed applicatio开发者_StackOverflow社区n on windows "With their specified Logo/icon".
e.g. Mozilla firefox with logo etc
I know two ways to check installed application. 1. to check particular exe, dll in specified folder. 2. check registry key.
Both ways work finally but it not displaying installed program with logo.
anybody have Idea how to do this?
Thanx
Check out this code project article Extracting Icons from EXE/DLL and Icon Manipulation. Author explained how to retrieve the logo from the exe.
We can find information about icons of installed product from following location This information is stored in registry at Installer\product key also along with Uninstall-
Key name - HKEY_CLASSES_ROOT\Installer\Products{productID}
Value - ProductIcon
From here we can get the icons of installed application. For more detail http://newapputil.blogspot.in/2015/06/extract-icons-of-installed-windows_17.html
精彩评论