Running 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!

bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Running Updater

(I tried to search the archives for this but the search engine doesn't allow "advanced" or "updater").

I'm apparently not understanding the concept behind scheduling of the Advanced Updater.

If I build the Advanced Updater into my application, then it creates a separate EXE (e.g., MyUpdater.exe) which is installed in my application folder, right?

Under "Run Updater", if I check "From your application as often as possible" then I'll decide when to call MyUpdater.exe (once a day, once a week, etc.) from my application, right? Or maybe I'll give the user control over the frequency in my application preferences.

So what does the "Check for updates every ___ days" do? The help file says "Start the updater from your application. Specify the frequency of the check for new updates" but those seem contradictory.

Does the installer cause MyUpdater.exe to be _run_ in the background? If so, why do I need to start it from my application? If it doesn't run MyUpdater.exe, how does the number of days option have any effect? :?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Running Updater

Hi,
If I build the Advanced Updater into my application, then it creates a separate EXE (e.g., MyUpdater.exe) which is installed in my application folder, right?
Yes. The updater is a separate application developed by us.
Under "Run Updater", if I check "From your application as often as possible" then I'll decide when to call MyUpdater.exe (once a day, once a week, etc.) from my application, right? Or maybe I'll give the user control over the frequency in my application preferences.
Yes. This option prepares the updater for being called manually by your application.
So what does the "Check for updates every ___ days" do?
This controls when the updater checks for updates. You can launch it 10 times in a day, but if the check frequency hasn't passed (the default is 2 days), the updater doesn't do anything and exits. A check is performed only if the frequency interval has passed since the last check.

This is used by the silent command line options. If you launch the updater using /checknow option, the check frequency is ignored. This is also the case when using nofreqcheck switch.
Does the installer cause MyUpdater.exe to be _run_ in the background?
No, the updater must be launched manually.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”