Incremental patches failing

I have recently started using wyBuild to produce and deploy my software updates.

I have created the updates and uploaded them to my server, as expected the all->1.x patches are large (~30MB) and the 1.2->1.3, 1.3->1.4 patches are small (~0.5MB). My software silently checks for updates (not using AutoUpdater).

Now using 1.3->1.4 as an example (this happened on the previous versions too), the software silently runs wyUpdate which detects there is a newer version of the software available so shows the wyUpdate dialog. The wyUpdate dialog clearly states version 1.3 is installed and the latest version is 1.4, so I click Update, this is where the problem occurs.

It says 'Downloading update' which takes a second and moves to 'Extracting files' but then under the progress bar it says 'Cancelling update..'. wyUpdate then starts to download the all->1.4 patch (The update takes a long time but does work from there).

It would appear the 1.3->1.4 patch is downloaded but a problem occurs during 'Extract files' which causes wyUpdate to download the large all->1.4 patch and use that instead of the much smaller 1.3->1.4 patch.

Any help on how to get this working correctly would be greatly appreciated, thanks.

The "all to X" update file is downloaded because one of your files failed to patch. The reason one of your files failed to patch is that the file on the customers (or your) harddrive doesn't match the file referenced in the old version in your wyBuild project.

You can see exactly which file is failing to patch by going in wyBuild then File->Properties->Updates & server files and uncheck the "Create a catch-all update for corrup installations". Rebuild your updates & upload them to your server.

Now retry updating that old version and you'll see exactly which file failed to patch.

Does this help?

Thank you for your response.

I did as you suggested and now realise where I was going wrong. I was creating the patches using one build of my software and then rebuilding the software to include the new client.wyc file in the installer. It was this rebuild I was testing against and although the files appeared the same they must be slightly different.

Once again thank you for your help.