Archive: How does unintall.exe work ?


How does unintall.exe work ?
Hi All,

I am fighting with problem.

I understand that uninstall.exe extracts au_.exe, launches it and then terminate.
Is it correct?

If yes then
Problem is:

uninstall.exe is launched by an application( I have its source code).
this application waits only on uninstall.exe termination.
application assumes that un-installation is completed successfully because it waits on it.

Actually un-installation is done by AU_.exe.
How can my application wait on un-installation process?

Thanks In Advance.


ExecWait '"uninstaller.exe" _?=$instdir'
(copy the uninstaller to $temp first and run it from there if you need to delete "$instdir\uninstaller.exe")


Thanks for your reply.

Sorry!!!
I could not understand what does this statement do?
I added this statement in uninstall section of my script but application did not wait till completion of uninstall.


You have to run that command line when you run the uninstaller to wait for it to finish.

Stu


Hi Stu,

Thanks for your reply.

Sorry!!! I could not understand your statement.

"You have to run that command line when you run the
uninstaller to wait for it to finish."

Please elaborate more it.