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 to craete shortcuts from scripts


1 reply to this topic

pallab lahiri

pallab lahiri
  • Members
  • 9 posts

Posted 04 February 2002 - 10:38

I want to create a shortcut  for uninstalling my product .
after checking the uninstall_string ..I want to create a shortcut to uninstall my product I am using IS6.3.1
... Which Programme should I launch from the shortcut to uninstall my product?
Thanks in advance.

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 04 February 2002 - 13:43

You would use whatever the value is in uninstall string, so most likely

RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{<YOUR INSTALL GUID>}\setup.exe"

Then to create the shortcut:

szProgram = <VALUE OF UNINSTALL STRING>;
LongPathToQuote(szProgram, TRUE); // THIS MAY NOT BE NECESSARY
AddFolderIcon(szFolder, "Uninstall this Application", szProgram, "", "", 0, "", REPLACE);