bright, fresh software
Downloads  |  Buy

Bug with version numbers?

Bug with version numbers?

Postby MrBungle » April 1st, 2012, 5:55 pm

I'm running a trial of this (2.6.17.1), and I really like it. I have noticed a problem that is preventing me from updating my app.For this example, I have four versions inside WyUpdate.

In WyUpdate, version 3.7.390 of my app says the first note is "Total re design of the file system on the server, no longer by ID but by name."

Version 4.0.530 says "New color theme options- change background colors"

Version 4.1.605 says "Added CPU and RAM usage to the status strip"

Version 4.1.625 says "New, larger fonts- better for the mobile environment"

I create my patch files, and everything uploads normally. But the app won't update, it says I'm at the current version. I checked the wyserver.wys file on the server and it's showing the following:

3.7.390 "New color theme options- change background colors"
4.0.530 "Added CPU and RAM usage to the status strip"
4.1.605 is BLANK. There is no change log there
4.1.625 "New, larger fonts- better for the mobile environment"

So somewhere in the build, the versions seem to be getting shuffled around somehow. I think this might be the reason why it's not updating (or part of it) Anyone else see this before? I hope I made sense.

See screenshot(s) for a better visual.

http://www.dailylog.net/images/WyUpdateScreenshot1.jpg
http://www.dailylog.net/images/WyUpdateScreenshot2.jpg
MrBungle
 

Re: Bug with version numbers?

Postby Wyatt » April 1st, 2012, 6:36 pm

This isn't a problem with the version numbers (or more specifically, how version numbers are stored in the *.wys file). The version numbers and changes associated with the version numbers are stored in an "offset" way for specific internal reasons. I can get into the technical details if you want, but it's not relevant to the problem you're having.


I create my patch files, and everything uploads normally. But the app won't update, it says I'm at the current version. I checked the wyserver.wys file on the server and it's showing the following:


The problem you're having is the client.wyc file installed on your user's computer has the version number embedded in it that doesn't match the version of your software. The way you solve this is to go to the "Build wyUpdate & Updates" screen in wyBuild, select the correct version number in the drop-down menu directly above the "Build wyUpdate" button. Then click the "Build wyUpdate" button.

So if you're testing updating the "3.7.390" version of your app then you should select the "3.7.390" version in the dropdown above the "Build wyUpdate" button. Then include the client.wyc and wyUpdate.exe with your app.



Does that make sense?



EDIT: Also, it looks like you're hosting the updates / server files on 3 separate sites. Make sure you upload the *.wyu and *.wys files to all the sites. That is, make sure they always have the latest version.
User avatar
Wyatt
Site Admin
 
Posts: 3248
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to wyBuild, wyUpdate, & AutomaticUpdater Support