Page 1 of 1

Running an EXE prior to uninstalling

Posted: Sun Dec 07, 2008 5:33 pm
by ingvarius
The application in question runs hidden, all the time, in the background.
I want to close down the application gracefully, by starting a duplicate of the executable with the /Uninstall parameter.
This will make all running instances close down, prior to uninstalling.
I have tested it, it works like magic, only if I knew how to run something prior to uninstalling!

How do I do this?

Posted: Sun Dec 07, 2008 6:41 pm
by sinan
Run it immediately before Apply Uninstall.

Posted: Mon Dec 08, 2008 3:46 am
by ingvarius
It works like magic, I added it to the script.

Later I found a more obvious and much easier way:
Advanced Options / Run Programs / + New
and check "Before Uninstall"