Not updating automatically with interval = DaysBetweenChecks

Hi,

I have been testing the AutomaticUpdater for a while.The DaysBetweenChecks is set to 1, which means it should check automatically every 1 days - it doesn't!

I have made a log-file that says:11-11-2014 09:05:26: Up to date12-11-2014 09:26:09: ReadyToBeInstalled: UpdateReadyToInstall12-11-2014 09:26:13: Update successfull: 8

At 11-11-2014 09:05:26 I did a manual check. The application is up to date (which is version 7)Right after that i make a new release (version 8) and upload it to ftp.I have been waiting 1 day (...and a few minutes) and it didn't update itself.At 12-11-2014 09:26:09 I did a manual check again - and the version 8 was then found.

Why can't the AutomaticUpdater itself check for the new version?Btw, is there any way I can test this without having to wait 1 day for every check?

Kind regardsJesper

I have been waiting 1 day (...and a few minutes) and it didn't update itself.

The AutomaticUpdater only checks for updates at the start of your application and only when the UpdateType is something other than DoNothing.

Okay, my application is a running all the time in the system tray.UpdateType is set to Automatic.

Is there any way I can actually make it check for updates every 1 day even though it is running 24-7?Or do I have to make my own method that checks with a specified interval and make it run together with the built-in checker to make sure it is run at least once a day?

Regards

If you're running a system tray app you have to make sure your main form is actually properly being constructed. Otherwise use wyUpdate as a standalone updater or use the AutomaticUpdaterBackend class.

For other people who might be interested in a solution:

I created a timer running at a specific interval (not too often). I set it to 1 hour.I then used the CheckEvery10Days() implementation to check for updates on every timer tick.