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

launching a non-msi uninstall from an MSI project


2 replies to this topic

simowalooca

simowalooca
  • Members
  • 6 posts

Posted 17 March 2005 - 16:56

Hi There:
I would like to silently uninstall a non-msi legacy installation from a msi-based project. I created the setup.iss using setup.exe then called setup.exe /s /f1"setup.iss". However for some reason this does not work..even calling setup.exe from the command line does not work.
Am I doing something wrong? Please help...

Thanks in advance

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 March 2005 - 11:09

Did you generate the .iss file for the uninstall (not for the install)?
What results (error codes) do you get? Where is your .iss file located?

simowalooca

simowalooca
  • Members
  • 6 posts

Posted 21 March 2005 - 21:19

Thanks for the reply Stefan..
I figured out how to do it...
I've actually generated the .iss and called LaunchAppAndWait with the uninstall command line that I extract from a registry entry written by the previous installation.
I called this in a custom action..
There are still some issues like: the next custom action executes while the uninstall runs, but this a limitation of of LaunchAppAndWait which waits for window-based applications to finish...in my case it is a silent uninstall, hence no window.
But I'll find a work around...