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

Uninstaller icon


7 replies to this topic

nick_91

nick_91
  • Members
  • 9 posts

Posted 24 June 2002 - 13:41

Hello
I've just moved from ISPro 5 to ISPro 6 and I can't create an uninstaller icon in start menu anymore. I know how to create an icon, but in this version of IS I don't know which uninstalling files to link to the icon. Before it was UNINST+logfile, but now?? It seems to recommend us to use Add/Remove programs window.
If you understand my question, thank you for answering it...

Schelli

Schelli
  • Members
  • 8 posts

Posted 24 June 2002 - 14:07

Hello

if you use AddFolderIcon set:

szCommandLine = UNINSTALL_STRING;



This works not for Windows95.

Jens
Jens

nick_91

nick_91
  • Members
  • 9 posts

Posted 24 June 2002 - 15:23

If somebody has an other solution, this one doesnt work...

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 24 June 2002 - 18:14

Yeah, that's definitely not gonna work for you.

Set your command line to be the contents of the following registry key value:
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\<InstallGUID>\UninstallString

where <InstallGUID> = PRODUCT_GUID.
user posted image

nick_91

nick_91
  • Members
  • 9 posts

Posted 25 June 2002 - 09:18

Is the content of the key value automatically created?
I think not, so how can I get it?

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 25 June 2002 - 14:33

Well, I assumed **ha ha** that you had at least had a working uninstall and an entry in the Add/Remove Program to use as a basis.

As for the how to create this, there a couple different ways, but here's an archaic method that I use during the OnMoving event/function:

Code Sample
InstallationInfo(@COMPANY_NAME, @PRODUCT_NAME_SHORT, @PRODUCT_VERSION, @PRODUCT_KEY);
 DeinstallStart("", svObselete, "", 0);
 RegDBSetItem(REGDB_UNINSTALL_NAME, szUninstallName); // CONTROLS DEFAULT NAME OF ARP ENTRY


There are other ways to, but I don't have time right now to look them up.


user posted image

nick_91

nick_91
  • Members
  • 9 posts

Posted 25 June 2002 - 14:43

My uninstallation works using the Add/Remove Program.
But nothing is written in the key you said...

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 25 June 2002 - 14:59

In that case, you must still be relying on that old IS 5 method to handle uninstalling of UNINST+logfile or something to that affect.
user posted image