Close Running App on Uninstall

Common questions about using Actual Installer.

Close Running App on Uninstall

Postby Scad » Thu Aug 03, 2017 10:36 am

I like the feature to define a running app that must be closed before installation.

In my case, working with codebase-dlls which can be accessed (and blocked) by another programm, I also would like to define a running app that must be closed before uninstallation!
Becaus if the programm using my dlls is still running, uninstaller is not allowed to remove these blocked dlls!

As a workaround I also wrote a little Dialogue-exe which asks the user to close the programm first (he usually needs to save his work, so I'm not allowed to simply shut it down).
But inside this .exe-Dialogue I don't have the option to stop uninstallation, if user doesn't want to close his programm...

So a built-in version with the possibility to exit uninstallation would be great.

Is there any other workaround or built-in way I have missed here? If not I would be thankful if ou could move this post to suggestions/feature-requests.


Posts: 5
Joined: Thu Aug 03, 2017 6:53 am

Re: Close Running App on Uninstall

Postby Leo » Tue Aug 15, 2017 6:14 am

Hi Scad,

On the page System \ Commands you can specify a command to terminate this process or launch you app with timing Before Uninstallation.
The command to terminate a process is described here:
Actual Installer Team
Site Admin
Posts: 271
Joined: Fri Jan 22, 2010 12:40 pm

Re: Close Running App on Uninstall

Postby Scad » Tue Aug 15, 2017 7:39 am

Thanks, I completely forgot the option to use cmd commands.

Sadly, in my special case, killing the task or process is no option :-/
Because in the programm I need to close (CAD-CAM-Software), user may never loose any unsaved changes.
Therefore he needs to be prompted to save his work manually and I must be able to wait until he did so and closed his programm with saving. Just exactly the same like your prompt for "Close Running Application" before installation does.
Up to now, I found no cmd-command which does exactly what I need here. But I'm not so used to cmd-commands and I will go on searching for the options I need.

Maybe this usecase is too special and I always have to specify a programm myself and launch it "before uninstallation", this works fine.
In general, for things like that, I have another question (or should I open a new Topic for that?):

Is it possible to code any custom dialogue-executable (for example in Winforms), use it via commands and then, if user clicked "Abort" or "Cancel" inside this custom dialogue, to completely abort the installation or uninstallation? So can I give any Dialogueresult to the Installer or something like this?
Posts: 5
Joined: Thu Aug 03, 2017 6:53 am

Re: Close Running App on Uninstall

Postby ggrewe » Tue Aug 15, 2017 11:26 am


We also have an application like this. In our application, we placed a hook that traps a Application Shutdown and, depending on the type of shutdown, displays this type of message. If there is no user response after 30 seconds, the app continues with the shutdown request.

Posts: 19
Joined: Mon Nov 30, 2015 5:50 pm

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests