Running an EXE prior to uninstalling

Got a problem you cannot solve? Try here.
Post Reply
ingvarius
Posts: 10
Joined: Sun Dec 07, 2008 5:20 pm

Running an EXE prior to uninstalling

Post 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?
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Run it immediately before Apply Uninstall.
ingvarius
Posts: 10
Joined: Sun Dec 07, 2008 5:20 pm

Post 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"
Post Reply