Application does not automatically close on update - 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!

thorbon
Posts: 7
Joined: Thu Nov 24, 2011 11:14 am

Application does not automatically close on update

Hi,

I have a windows form application which runs all the time in background. It has also a systrayicon with a menu.
When i do an automatically update (or a manual update) the advanced updater works fine, but when he wants to update, i receive a message popup which says that my program is still running and he wants to close the application.
When i click yes, after 10seconds a message appears telling me the setup was unable to automatically close all requested applications, so it cannot update my product. This only appears in Windows 7, in windows Xp the updater works fine after i click close program.

In my advanced updater file i have specified to close the exe but unfortunately it doesn't close it..
Does someone know a solution to this?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Application does not automatically close on update

Hello and welcome to Advanced Installer forums,

The messages are automatically shown by Windows Installer when it detects some resources are still in use.

Does this behavior manifest on all Windows 7 machines or is it just one?
In my advanced updater file i have specified to close the exe but unfortunately it doesn't close it..
Here's an user guide article to help you with this.

Also, here's another thread that debates this issue:
http://www.advancedinstaller.com/forums ... 561#p16561

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”