Bug in AutomaticUpdaterSolved

Hello

While testing the updater on win7 64 bit I have run into a few problems.

First one is a crash in the AutomaticUpdater control (index out of bounds):

at System.Collections.Generic.List`1.get_Item(Int32 index) at wyDay.Controls.AutomaticUpdater.updateHelper_ProgressChanged(Object sender, UpdateHelperData e)

Next problem is that if there is an update and I have made it update on next start. Then quit the app, start it up again and then I click cancel for the elevate privs that wyUpdate needs, then my app is still running in some sort of half-running state. I can see it in the process view but there is no window. Is the app supposed to quit before wyUpdate is running? Because I keep running into this either kill dialog or file in use dialog. And I guess I'm not supposed to see them in the normal case?

at System.Collections.Generic.List`1.get_Item(Int32 index)at wyDay.Controls.AutomaticUpdater.updateHelper_ProgressChanged(Object sender, UpdateHelperData e)

What version of the AutomaticUpdater are you using and what version of wyUpdate.exe are you using?

Next problem is that if there is an update and I have made it update on next start. Then quit the app, start it up again and then I click cancel for the elevate privs that wyUpdate needs, then my app is still running in some sort of half-running state. I can see it in the process view but there is no window. Is the app supposed to quit before wyUpdate is running? Because I keep running into this either kill dialog or file in use dialog. And I guess I'm not supposed to see them in the normal case?

Your app is supposed to close when the AutomaticUpdater calls "InstallNow()". Check your Program.cs file -- are you using Application.Run() or are you using FormName.Show() ?

2.6.10 for both. I have just been looking in the source of the control and the problem with the app not exiting is probably because my WPF app doesn't die on Application.Exit. The crasher bug remains though.

I'm going to look into the crash.

I can't reproduce this crash, can you create a simple project that reproduce this behavior and then send it to us (support@wyday.com)

I think the problem is when the app is still loading. Like if you have a .NET 4 app, the first time it has to load everything and the disc is crunching. I now tried doing an update again, right after launching my app and now the app hang 🙁 I have only been able to reproduce this on my win7 64 bit machine. In xp I havn't had a problem yet. But I mean the out of bounds should be pretty clear, it appears only to can happens two places. I don't know enough about the program to understand why it could happen thought

One more data point. The app crashes after called ForceCheckForUpdate() if that helps anything.

This shouldn't be a problem, but are you leaving the changelog for the new update blank?

Ok, the root cause of the problem was you left the changelog blank in wyBuild. But the AutomaticUpdater shouldn't crash, so we've fixed this problem for 2.6.11.2 which will be out either today or tomorrow.

Yes I was, thank you very much

We've released the AutomaticUpdater 2.6.11.2 which fixes the crashing bug.