Autoupdate Not work? (tells me it's up-to-date)

I have a strange problem where i have built and created an update.. i have uploaded to ftp..

And then my problem i run the auto updater knowing full well the is a new version and the software tells me its up-to-date and doesn't return an update?

Please help..

This seems to be a common problem (its in the FAQ).

If the auto-update fails because the target is locked, the .wyc file still gets updated. So the user ends up with an old .exe and a new .wyc file and he or she frustratingly can't update.

A suggestion for the next version:Perhaps it would be useful to tie the version of .wyc to the .exe version, or only write the .wyc file once the .exe is verified as new?

If the auto-update fails because the target is locked, the .wyc file still gets updated. So the user ends up with an old .exe and a new .wyc file and he or she frustratingly can't update.

Huh? If the file is locked then wyUpdate will fail to update your app. The client.wyc file is only updated with the new version number when you app has been successfully updated.

The FAQ question was about reusing the same client.wyc file over and over again or building the client.wyc file for the wrong version of your app.

Perhaps it would be useful to tie the version of .wyc to the .exe version, or only write the .wyc file once the .exe is verified as new?

It already works that way. wyUpdate doesn't care about the version of your app, but it only updates the client.wyc file once your app has been successfully updated.

"Huh? If the file is locked then wyUpdate will fail to update your app. The client.wyc file is only updated with the new version number when you app has been successfully updated."

No, not always. I've had it happen on a few clients machines that wyUpdate thinks it has updated the .exe but the file is locked. The .wyc file is then updated, but the .exe stays at the old version. Once that happens, wyUpdate thinks the .exe is updated because the .wyc file is updated. The only way to update it is to send them an older .wyc file or reinstall.

Next time it happens I'll send you an app to reproduce the problem.

wyUpdate installs updates "transactionally". That is, if something fails (a file can't be installed, the user doesn't have adequate permission, etc.), wyUpdate rolls back all changes. This way the user always has a working version of your software. We've personally run thousands of varying tests that confirm this behavior.

If I were to guess the cause of your error I'd say it's one of 2 things:

  1. Your user ran a "repair install" on your product and your installer didn't replace the client.wyc file.
  2. Your update was built with an old version of your app.

To know the actual cause you'll need to tell us a way to reproduce the error.

Thanks for your help and usual prompt support.When we have a method to reproduce it reliably, we'll send it to you.

Im a tad confused about all this now..

My setup intially installs my software along with client.wyc and wyupdate.exe this is correct?

The update i created i think not sure but i THINK i inavertaly deleted a previous update and created a new one.. this has some how confused it as it was all working via the normal process of "build, build update to ftp" and update via software.. so what are my steps to get it working it sounds correct on this client.wyc file? so do i repackage the setup with a new one? or what im pretty confused?..

You need to Build wyUpdate with every version of your software that you will be releasing in an installer to your users. See the New release workflow.

Also, if you haven't read it, you should read the step-by-step walkthrough.

all of that seams to be in order with mine.. so i have no idea now 🙁

Try running wyUpdate.exe on your old version. Does it say you have the latest version or does it show an update?

says i got the latest.. 🙁

Do 3 things:

  1. Rebuild wyUpdate for the version that matches the app you're trying to update. See the red arrow in this picture. Then include the wyUpdate.exe and client.wyc files with your app.
  2. Rebuild & reupload your updates.
  3. Recheck for updates by either double click wyUpdate.exe or using the AutomaticUpdater.

can i ask... do i package client.wyc with my application and then when i do new updates do i copy over or what? sorry im seriously confused on which is the right/ wrogn files and what files should be where? i can try and of the steps you said ha i have no idea which files are right now..

do i package client.wyc with my application and then when i do new updates do i copy over or what?

You should build wyUpdate (which outputs wyUpdate.exe and client.wyc files) with every new version of your software. So include these files with your new version installer. The only reason I'm telling your to rebuild wyUpdate now is because it sounds like you included the wrong client.wyc file with your app.

You should read the step-by-step walkthrough, it explains all of this in a clearly.

sorry im seriously confused on which is the right/ wrogn files and what files should be where? i can try and of the steps you said ha i have no idea which files are right now..

I'd recommend reading the step-by-step walkthrough. It's short and it has pictures. But it explains when to build files and which files to include where.