Update chain has broken.

Hello,

Using wyBuild 2.6.14.0 and AutomaticUpdater 2.6.13.0.

I have an issue on an application in production. So far I couldn't come up with a reproductible case. Maybe you can help me dig in the right direction though.

- Application is in production and auto-updated through wyUpdate for months. Meaning at least twenty updates.- No pb so far.- Last version: 2.4.12.0.- Needed to deploy a major update (3.0.0.0) for which auto-update was not desirable.- Added 3.0.0.0 to my .wyp and generated the wyUpdate files.- Deployed the said version through a full setup. (including wyUpdate files).- No pb.- The next two days, deployed 3.0.0.1 & 3.0.0.2 through full setups again (Didn't want automatic updates). Followed the same steps than for 3.0.0.0 regarding my .wyp.- No pb.- Today I wanted to deploy 3.0.2.0 and make it available through wyUpdate.- Modified the my .wyp file by * adding version 3.0.2.0 * removing older versions up until 2.4.12.0.- Generated wyUpdate files for 3.0.2.0.- Generated update files from 3.0.0.1 to 3.0.2.0 (3.0.0.0 purposely ignored) .- Uploaded updates.

Now, versions 3.0.0.1 and above get updated correctly. The problem is with instances of version 2.4.12.0 that are still in the wild. The AutoUpdater will crash with the following error:

System.ArgumentOutOfRangeExceptionNom du paramre: index System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) System.ThrowHelper.ThrowArgumentOutOfRangeException() System.Collections.Generic.List`1.get_Item(Int32 index) wyDay.Controls.AutomaticUpdaterBackend.updateHelper_ProgressChanged(Object sender, UpdateHelperData e) wyDay.Controls.UpdateHelper.ProcessReceivedMessage(UpdateHelperData data) wyDay.Controls.UpdateHelper.SafeProcessReceivedMessage(Byte[] message) wyDay.Controls.PipeClient.Read() System.Threading.ThreadHelper.ThreadStart_Context(Object state) System.Threading.ExecutionContext.runTryCode(Object userData) System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) System.Threading.ThreadHelper.ThreadStart()

We generally don't use the standalone updater, but if we do, we get the expected message :"No update to the latest version.There is a newer <myapp> (version 3.0.2.0), but no update available from the version you currently have installed (version 2.4.12.0). "

I'm fine with this message. My concern is with the AutoUpdater.

Thanks if advance for your help.

This bug was fixed in the AutomaticUpdater 2.6.14. Always use the latest version. We continually improve these products. (See all the fixes here.)

Thank you Wyatt,

I will update to the latest version.

At least you confirm there was nothing wrong in my approach?I mean, removing old versions in my wyUpdate project shouldn't break anything?

Regards.

If you remove old versions then the users using those versions won't be able to update to your latest version. Best advice: don't remove old versions.