
I\'m trying to set the icon in Add or Remove Programs to the same as my a
Yes, you can do it by this code:
string Install_Reg_Loc = @"Software\Microsoft\Windows\CurrentVersion\Uninstall";
string displayIcon = @"C:\MorganTech\setup-icon.ico";
RegistryKey hKey = (Registry.LocalMachine).OpenSubKey(Install_Reg_Loc, true);
RegistryKey appKey = hKey.OpenSubKey(productName);
appKey.SetValue("DisplayIcon", (object)displayicon, RegistryValueKind.String)