Automatic updater - 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!

mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Automatic updater

Hello. I am reading about the automatic updates in advanced installer, but it is not really clear how this will work. I'd like to check for updates each time when my application starts and if the new version is available and a user agreed to update to automatically (without user interaction) update to the newest version and automatically launch the program again. Is that possible?

Another question: what does the check frequency mean when updater is launched from the application (not as a scheduled windows task)? As far as I understand, if we launch the updater from the application the frequency completely depends on that application, e.g. when it is starting up or when a user clicked update menu item. What do I miss?
No milk today
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Automatic updater

Hi,
...update to the newest version and automatically launch the program again. Is that possible?
Yes, this is possible. You will need to integrate the updater in your application to accomplish this.

The check frequency refers to the interval used by the updater to check for a new version, its strictly separated from any user actions. If the check frequency has not passed or there are no updates available, the Updater will exit immediately.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Re: Automatic updater

You will need to integrate the updater in your application to accomplish this.
Yes, I've checked that link before asking my question on the forum, but I don't see there nothing about automatic launching of the updated app when updating is finished, also it doesn't give a clear picture of how the process of installing updates will go: will there be a wizard or just a progress window or will it be totally invisible?
If the check frequency has not passed or there are no updates available, the Updater will exit immediately.
So if I understand you correctly, if I launch the app for the second time sooner than the check frequency interval, it won't check for updates?
No milk today
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Automatic updater

but I don't see there nothing about automatic launching of the updated app when updating is finished
This functionality is predefined and comes with auto-close application feature.
will there be a wizard or just a progress window or will it be totally invisible?
As described in the article my colleague posted previously, you can configure this yourself using the appropriate command line option.
So if I understand you correctly, if I launch the app for the second time sooner than the check frequency interval, it won't check for updates?
No, it will not.

Here's a similar thread that may help further.

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

Return to “Common Problems”