failed the Adler32 validation

I was testing an update and to my surprise the patch failed and instead wyUpdate decided to download the catch all file, (which did work once downloaded).

To find the error, I disabled the catch all update, then rebuilt the updates. I then created an IIS website on my local machine pointing to the built updates folder.

When I ran the updater, this was the error message:The downloaded file "xxx.1.2.379.to.1.2.381.wyu" failed the Adler32 validation.

What is this message about?

It means the downloaded file doesn't match what it should be (as reported by the *.wys file). This usually means you didn't upload all the update files together. You might have just replaced one file (like the *.wys file) without replacing the *.wyu files. Or vice versa.

If that is the case, then there is a bug in wyBuild.

wyBuild builds the updates to a folder on my computer, to test locally I created an IIS website around this folder, so all files created by wyBuild are left as is, yet the adler32 validation fails.

From what you are saying this should not happen.

How can I debug the issue?

Also, this issue is not visible until an update is run, could you implement the adler32 validation check within wyBuild so users will know patch updates are going to fail, before uploading all the updates to the server?

Enable update signing, rebuild wyUpdate, replace the client.wyc with the new one, rebuild your updates, reupload them to your server, then try the update again.

Ok, will try that. Can you explain why updating signing is going to help?

It will give you better error messages about what about the updates is corrupt. This will help you track down the problem faster.

Hi Wyatt,

I didn't get a chance to try the signing yet, but I think I know why the error occurred. On my machine, and another machine, some files in the installation folder were changed, I missed the point that wyBuild only creates enough information in the build file to change existing files, not replace (which I assumed was happening) them.

I can see information is more or less explained under "Create Tiny Update Patches" (http://wyday.com/wybuild/). The more I understand how wyBuild works, the more I see it is a really great application, I think there is scope for you to put some more detailed documentation on the website, it's a bit terse at the minute.

I think there is scope for you to put some more detailed documentation on the website, it's a bit terse at the minute.

Yeah, I agree. We're working on this. [He says tersely. 😀 ]