WyUpdate looks for the full version file instead of the version specific one

I work in a company that recently started using WyBuild and we are experiencing a weird issue.

When we build an update from a specific version we get a seemingly valid server and update files to all of the version from that version onward , but when we run the WyUpdate it fails to update throwing that it needs to download the full version file (which we intentionally didn't upload in order to test the version specific update) .

From what I've seen the wyUpdate application actually downloads the version specific update and ,after extracting it , tries to download the full version file(all.to.XYZ). I've just wanted to know if this is the expected behavior and what is the cause for it happening only in some updates and not in all of them?

Thanks in advance,Lily Chen.

Hey Lily,

When we build an update from a specific version we get a seemingly valid server and update files to all of the version from that version onward , but when we run the WyUpdate it fails to update throwing that it needs to download the full version file (which we intentionally didn't upload in order to test the version specific update) .

It sounds like a file is failing to patch. Why? Because the version installed on the customer's machine (your test machine in this case) doesn't match the file in the version in wyBuild.

You can see exactly which file is failing to patch by unchecking the "Create a catch-all update" checkbox (File -> Properties -> Update & servers files). Rebuild your updates. Re-upload them to your servers.

Then re-run wyUpdate and you'll see why the file is failing to patch.

Tell me if that helps.

I have the same exact issue.

Using a hello world app, I removed the catch-all update as you suggested from properties.

I get this error:The downloaded file "test.1.1.to.1.2.wyu" failed the Adler32 validation.

In another test, using the same hello world app, I let wyBuild create the catch-all update, but did not upload it to the update site. It successfully patched hello world using the smaller update file.

In all cases, I am unable to patch my real application using the smaller differential update. It insists on using the all update.

I experimented some more with the same instructions that you sent, but using the full app (large)

<start>Patch failed to apply to this file: <omitted file name>

Because that file failed to patch, and there's no "catch-all" update to download, the update failed to apply. The failure to patch usually happens because the file was modified from the original version. Reinstall the original version of this app.

Internal error: Exception of type 'System.Exception' was thrown.<end>

I thought I'd post this for others to see what the full message looks like. I'm researching now why that file got changed.

Did you find the problem? we also have this issue once in a while, but having a hard time finding out when and why and how....Can we find out more about the System.Exception? is there an even log or trace file?

when it fails to update because "the file" is different than the one it is expecting, is this 1 file? what is different? what are some of the common causes with the common fixes for it, with specific details if possible.. some of these are too vague.. we're trying to debug more to figure out the details, but meanwhile, please provide any info we might be missing or reminded of to focus on.. seems pretty narrow of an issue but the exception/problem details are too little for us to understand how to fix it right now.. thx

See: FAQ: What's the "catch-all" update? Why is it so large? And why is it being downloaded?.

Short answer: a file is failing to be patched. Read the FAQ to find out which file it is.