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 create Uninstall.exe by InstallShield12?


3 replies to this topic

susie7777

susie7777
  • Full Members
  • 2 posts

Posted 20 December 2007 - 07:32

I can use InstallShield to design my installation package ,but i don't know how to create an uninstall.exe for uninstall requirement .
I know how to create an uninstall shortcut , but no information to build an uninstall.exe .

Can anyone tell me what shall i do in my setting or script ?


thanks a lot ,



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 December 2007 - 16:50

Uninstall is controlled by the same msi package. You can add a custom action with condition
REMOVE~="ALL"
to make it run only during uninstall.

susie7777

susie7777
  • Full Members
  • 2 posts

Posted 21 December 2007 - 03:16

Thanks for your information ,

I got a requirment to build an uninstall.exe for user as others software ,you know they have an uninstall.exe exsits in the [Installdir] folder .

I had tried to add an custom action "New Nested MSI" ,I found it's property setting is that "ADDLOCAL=ALL",then i added it into Execute sequense , but this won't create an uninstall.exe .

I found other software 's uninstall.exe is very small , so it can't be a package .Or it's just a shortcut for uninstall?

I had read in articles ,installshield will create an "uninst.isu"file with the package, but i can't find this file .

I'm a newer in using installshield ,so your information is improtant to me ,thanks very much .




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 December 2007 - 16:21

Windows Installer (MSI) setups don't create an .isu file, nor do they create or need an uninstall.exe. Users should uninstall from control panel.
If you need to have a uninstall shortcut (which is not recommended by Microsoft) you can create a shortcut for the following command line:
msiexec.exe /x [ProductCode]