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

Uninstallation Complete


2 replies to this topic

tarun

tarun
  • Members
  • 5 posts

Posted 06 June 2002 - 11:32

Hi

I've made an installer for a web based Application but while uninstalling...In the begining I stop the IIS using a batch file so that installer can remove all the files and DLLs without any problem....and when the uninstallation is complete I want to restart the IIS using a batch file. But the problem is that how can I come to know that the Uninstallation is completed. I executed that batch file by LaunchAppAndWait after the ComponentRemoveAll function but it is called before removing the files means the IIS is restarted before removing the files.

I shall be grateful to you if you can help....

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 06 June 2002 - 11:41

Hi,

a setup is complete once it passed the OnEnd() event.
Why not launch the batch (with NOWAIT) inside of OnEnd?

Only make sure you are really in Maintenance Mode then (e.g. set a global variable when uninstalling).

Eberhard

tarun

tarun
  • Members
  • 5 posts

Posted 06 June 2002 - 12:46

Thanks for your suggestion

We can also achieve this by overriding the function OnMaintUIAfter() and calling that batch file from withi in this function.

Anyway thanks a lot.