Fromversion and Toversion anomaly

In my update project, I execute a batch file that takes the %fromversion% and %toversion% variables as parameters. These are critically important for my update to succeed.

When I run the update, the UI says that I am updating from version a.b.c to version a.b.d, but when I check the log that my updater creates, the version values are being passed as ALL and a.b.d, respectively.

I do have an updater for a.b.c to a.b.d in addition to the catch-all updater (all to a.b.d). I would expect the specific updater to be used, but based on what the log says I can only assume that the catch all is being used rather than the specific one. I'm puzzled as to why the specific updater didn't get used instead.

I checked my client .wyc, and its version is correct (a.b.c).

How might I trouble-shoot this issue?

The catch-all update is downloaded when a file fails to patch. That is, either the file was modified by the user or the file just isn't what wyUpdate expects it to be (based on what you used in your wyBuild project file).

To find out which file is failing, in wyBuild go to File -> Properties -> Update & server files then uncheck "Create a catch-all update for corrupt installations". Then rebuild & re-upload your updates.

Then, when the update is installed, you'll see exactly which file fails to patch.

Thanks, that did in fact show me which file failed, and I have a fix.

One feature that I'd love to see in the product is a log of what it's doing. The logging level need not be detailed by default, but could be controlled with a command-line switch if more verbosity is required. In this case, I would like to think it could have told me that it had a problem with the patch install (maybe even which file was the problem) and that it was moving forward with the catch-all.

Thanks again for the help.