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!

Powercoder
Posts: 4
Joined: Sat Mar 03, 2018 7:22 am

Autoclose not working properly

Every time I run the update checker from within my application, it attempts to close my application, and it appears to close, however there is a popup box that appears with the following:

"The following applications should be closed before continuing the install:"

It shows my application , and then it also shows the updater application.

I select the option that says to:
"Automatically close applications and attempt to restart them after setup is complete"

From there is continues fine. I would like to find out how to avoid getting this error window.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Autoclose not working properly

Hello,

This may happen if your application window do not correctly react to the "WM_CLOSE" message sent by our Updater.

As a workaround, you can configure a "Terminate process" custom action in your setup project. Just open your setup project and go to "Custom Actions" page. Here add a "Terminate process" custom action with sequence scheduled before "Install Execution Stage -> Preparing" action group.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Powercoder
Posts: 4
Joined: Sat Mar 03, 2018 7:22 am

Re: Autoclose not working properly

Ok, thank you. I will try this solution this week. Thank you for all the help with the other information previously too.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Autoclose not working properly

You are always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”