Random timing, updater scheduled task - 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!

sherod
Posts: 5
Joined: Thu Oct 23, 2008 11:57 pm

Random timing, updater scheduled task

Hi

I'd like to use the windows scheduled task approach to executing the updater.

However, if I pick daily at a specific time, then I expect my entire user base will then attempt to run the updater at that time of day - with potentially disastrous consequences on our bandwidth.

So, we're going to run it 'At Login' to get some randomness.

Is this the correct approach? Is there a way of getting daily scheduled updates using the windows scheduled task with a bit more randomness of timing?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Random timing, updater scheduled task

Hi,

This seems to be correct. Unfortunately Windows does not support an option which would offer a more random launch time. However, another approach would be to integrate the Updater in your application and launch it whenever you want.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sherod
Posts: 5
Joined: Thu Oct 23, 2008 11:57 pm

Re: Random timing, updater scheduled task

Thanks!
robertmdineen
Posts: 1
Joined: Mon Apr 26, 2010 3:52 pm

Re: Random timing, updater scheduled task

I see that the posting here is a bit dated.

Is there any new functionality that would add in a 'random delay' or create some sort of randomization in a task? The intent is to not overload our Web Services with a massive communication surge.

In looking through the doco, it seems like I may have to create a VB script to run post-install to modify the time of the scheduled task and randomize it. Is this accurate? Any better ideas?

Thanks,
R
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Random timing, updater scheduled task

Hello,

Windows Installer does not have direct support for this so, indeed, you will have to use a custom action for this.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”