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

Add/Remove Program Shows Wrong Icon


3 replies to this topic

NoMoreUserIDs

NoMoreUserIDs
  • Members
  • 2 posts

Posted 11 January 2002 - 00:22

The icon shown within the add/remove programs panel is the standard application icon and not the icon created for the installed program's executable.  The PRODUCT_KEY is defined as the program's main executable.  Any ideas????

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 January 2002 - 11:52

In Windows 2000 you need to add some additional entries in uninstall registry key. A sample can be found here on InstallSite in the IS5/6 Samples Section

NoMoreUserIDs

NoMoreUserIDs
  • Members
  • 2 posts

Posted 11 January 2002 - 19:23

The Uninstall registry entries are as follows...

DisplayName = "MyProgram"
UnInstallString = "C:\WINNT\IsUninst.exe -f"C:\PathToLog.isu"

From within the Add/Remove Programs dialog, the option to uninstall the program is available.  The display name corresponds to the registry entry, however, the little icon to the left of the display name is not the icon of the installed program.  It is the default application icon.  (Window with border)

Where does it pull this icon from and how can I change it?


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 January 2002 - 23:26

You need to add ADDITIONAL registry values to that uninstall key. See the sample code I mentioned.