Hi,
I have my UA set up with UpdateType = CheckAndDownload. It's also invisible.
DaysBetweenChecks = 1
My explicit check action looks like this:
switch (automaticUpdater.UpdateStepOn) { case UpdateStepOn.Nothing: // main case case UpdateStepOn.UpdateAvailable: // may happen XtraMessageBox.Show(Properties.Resources.MsgAutoUpdateWillCheckInTheBackground); _forcefullyCheckedForUpdates = true; automaticUpdater.ForceCheckForUpdate(false); break; [...] }
For some reason, on many machines the discovery phase will sometimes end up in UpdateAvailable instead of UpdateDownloaded. It's not my main issue, but I'll welcome any lead.
The problem is that neither the code above nor the daily automatic check will help the update move to the next step. Nothing will ever happen.
The explicit check could be fixed by passing "true" to ForceCheckForUpdate() in order to start from scratch. Although that should not be needed.
The Automatic check I cannot master and it seems to always call this.forceCheck(false, sender == null)which will do nothing.
Thanks for your help.