wybuild failed to display proper message

HI,I am using wybuild since 2 years, it is working well.But now I am going to release a build let's say 1.0.0.1 so for this we are creating daily auto-updates automatically by batch file.So each day we have new build with auto-update patch so we are providing only last 3 successful build as auto-update patch.

Now lets say we created patch for last 3 builds 1.0.0.3 -> 1.0.0.61.0.0.4 -> 1.0.0.61.0.0.5 -> 1.0.0.6Note: I am not creating full patch which is require in case of error. I don;t want this is taking time in build process.

Now if my user is having build 1.0.0.2 and trying to update, Since patch doesn't exist for 1.0.0.2-->1.0.0.6.User is getting the following exceptionEXCEPTION DETAILS==================================================System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: indexat System.Collections.Generic.List`1.get_Item(Int32 index)at wyDay.Controls.AutomaticUpdaterBackend.updateHelper_ProgressChanged(Object sender, UpdateHelperData e)at wyDay.Controls.UpdateHelper.ProcessReceivedMessage(UpdateHelperData data)at wyDay.Controls.UpdateHelper.SafeProcessReceivedMessage(Byte[] message)at wyDay.Controls.PipeClient.Read()at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)at System.Threading.ThreadHelper.ThreadStart()

Please let me know how to avoid this situation.

Just run wyUpdate.exe. It will throw an error about the file not being found. The exception you're getting here is something to do with how you're using the AutomaticUpdater.

In the next version of wyBuild we're adding incremental updates (A->B, B->C, C-D).

Thanks for the reply.I ran the wyupdate.exe using command line wyUpdate.exe -server="http://1.0.0.1/AutoUpdate\OneP\0.9\64bit\wyserver.wys.txt" -updatepath="http://1.0.0.1/"I got the proper message which I would like to display to client. "There is a newer version of 0.0.0.X, but no updates available from the version you currently installed"But when I am using this through my application I am getting the exception.here is the xaml for the updater <wyDay:AutomaticUpdater x:Name="automaticUpdater" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" UpdateType="OnlyCheck" DaysBetweenChecks="0" GUID="XXXX" WaitBeforeCheckSecs="20" BeforeChecking="OnBeforeCheckingEvent"/>

I want the same message through application. Could you please let me know the solution

Any comments for the above problem

Are you calling ForceCheckForUpdate()? If so, don't -- that's your problem.

If not, tell me what functions you're calling and when.

I am not calling any function it is automatically doing checkforupdates for me because of the property UpdateType="OnlyCheck" in xaml.<wyDay:AutomaticUpdater x:Name="automaticUpdater" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" UpdateType="OnlyCheck" DaysBetweenChecks="0" GUID="XXXX" WaitBeforeCheckSecs="20" BeforeChecking="OnBeforeCheckingEvent"/>

If I am running from command line wyUpdate.exe -server="http://1.0.0.1/AutoUpdate\OneP\0.9\64bit\wyserver.wys.txt" -updatepath="http://1.0.0.1/"it is working.

But when my application is loading, it is automatically connecting to auto-update server.here is my menu item automaticUpdater.MenuItem = mnuCheckForUpdate;automaticUpdater.wyUpdateCommandline = -server="http://1.0.0.1/AutoUpdate\OneP\0.9\64bit\wyserver.wys.txt" -updatepath="http://1.0.0.1/"it is not working.

, edited

Any updates for the above query.

More information is needed. Is the error happening when the user clicks something? Or does it happen when you call a function?

User is doing nothing, He is just launching his application,Application is automatically doing checkforupdates for user, because of the property UpdateType="OnlyCheck" in XAML<wyDay:AutomaticUpdater x:Name="automaticUpdater" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" UpdateType="OnlyCheck" DaysBetweenChecks="0" GUID="XXXX" WaitBeforeCheckSecs="20" BeforeChecking="OnBeforeCheckingEvent"/>

I am not sure what information is required from me.

Any updates for the above query.