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.

adding uninstall shortcut icon

2 replies to this topic


  • Guests

Posted 23 April 2003 - 05:33

how to add an uninstall shortcut icon using installshield


  • Members
  • 5 posts

Posted 01 May 2003 - 10:29

Hi, could you create a shortcut that points to your install and passes it the /uninst or -uninst command line parameter?

Perhaps you could use the DISK1TARGET to find out where your install was copied to when it was initially installed, use that path to create your shortcut. I could be wrong with that system variable, there might be another one to use...

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 01 May 2003 - 20:17

Sort of, but that's not the preferred way of doing it.

Simply retrieve the registry value that Add/Remove Programs uses. This being the following:

Then use its data to create the uninstall shortcut. You'll need to do so after the OnMoving event in order for this entry to be populated, so I'd suggest during the OnFirstUIAfter.

The InstallGUID can be retrieved by opening your IS project, click Project | Settings, hit the Application tab, and read the value of GUID.

user posted image