Updater.exe not exiting - prevents future attempts to upgrad - Advanced Installer Community
jpeterson
Posts: 10
Joined: Thu Mar 27, 2014 2:30 am

Updater.exe not exiting - prevents future attempts to upgrad

My program is calling updater.exe manually to check for and install updates:

Code: Select all

updater.exe /silentall -nofreqcheck
I have noticed that if updater.exe finds a new version to install and starts the upgrade but the user aborts the upgrade part way through, updater.exe does not exit. I want to prompt the user to upgrade again the next day if they do not complete the update, but when updater.exe runs again, nothing happens because the previous instance of updater.exe is still running.

How can I prevent updater.exe from hanging around after the upgrade has been aborted?

Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Updater.exe not exiting - prevents future attempts to up

Hello,

By default, if the user cancel the installation process of the upgraded installation package, the updater will prompt with a task bar notification with the following message: some of the updates failed to install properly, so it is considered an installation error.
The updater will exit if you click on the notification message and press the Finish button.

I have added an improvement on our TODO list to automatically close the check for updates process if the user cancel the installation process of an .MSI package. This improvement will be available in a future version of Advanced Installer.

Thank you for bringing it to our attention.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jpeterson
Posts: 10
Joined: Thu Mar 27, 2014 2:30 am

Re: Updater.exe not exiting - prevents future attempts to up

You are right Dan. There was a taskbar notification but somehow I did not notice it before. When I opened the notification and clicked Finish the updater.exe process exited.

Can you give me any kind of idea how long until this improvement is available?

Thanks.

Joy Peterson
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Updater.exe not exiting - prevents future attempts to up

You're welcome Joy,

I'm afraid I cannot give you an ETA for this improvement at this moment. We will notify you on this thread when the fix will be available.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater.exe not exiting - prevents future attempts to up

Hello,

This improvement has been added in version 11.2 of Advanced Installer released on May 21st, 2014.

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

Return to “Common Problems”