Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how do i change the icon in Add/remove..


2 replies to this topic

Adam

Adam
  • Members
  • 107 posts

Posted 06 June 2002 - 18:40

how do i change the icon in the add/remove programs window?

Win2k IS6

Thanks.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 06 June 2002 - 19:55

Ahh, an easy one ... here's some example code.

Code Sample

#define UNINSTALL_KEY_BASE "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\"
#define UNINSTALL_KEY UNINSTALL_KEY_BASE+PRODUCT_GUID


 RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);  
 nvType =  REGDB_STRING;
 RegDBSetKeyValueEx(UNINSTALL_KEY, "DisplayIcon", nvType, TARGETDIR ^ "\\BIN\\program.exe", -1);

user posted image

Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 17 June 2002 - 17:21

I documented many of the uninstall entries in my article on this website in the section "Extended Information in Add/Remove Program Control Panel".  You might want to read it.