Close application - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jte
Posts: 4
Joined: Wed Apr 14, 2010 2:58 pm

Close application

Hi,

I want to use the predifined custom action "close application".
An application xyz, part of the package, must be closed before uninstall.
Now everytime i want to start the installer, I get a box with the message
the application xyz is running.

Kind regards,
Jurgen
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Close application

Hi,

This message is shown by "InstallExecuteSequence" -> "InstallValidate", so you should create the custom action before this standard action. You can read more about the custom action here.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Close application

Doesn't seem to help when the service in question is installed and started (and stopped on uninstall) in a merge module. In the merge module I run a CreateExeProcess to shutdown the service, which happens before InstallValidate but dialog still comes up (from parent MSI I assume).
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Close application

More info coming... I still see an associated process of ours running so this might be my issue.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”