My apologies. The Subject should be "updater error 404".
Hi,I am attempting to update my application using wyBuild and the AutomacticUpdater. I am able to successfully upload the updates to my web server. the first attempt to download gave a 404 error (Not found).. I changed the file extensions to ".zip" as per the instructions, rebuilt, re-uploaded, but I still get this error. The access credentials correct.
I uploaded by FTP and download by HTTP, but I would not expect this to be the cause of the error.
Any assistance greatly appreciated.
cheers,Mark Chimes
Hey Mark,
I uploaded by FTP and download by HTTP, but I would not expect this to be the cause of the error.
The error 404 means the file is not found on the server. 99% of the time this means that you uploaded to the wrong folder or server.
A quick way to test this is to run wyUpdate again to get the error. Then copy the exact URL that appears in the error and paste that URL into your browser. Do you get the error in your browser? If so, it means the file isn't on the server where you think it is.
Remember if you're using linux servers then things like capitalization matters. For instance, this
http://yousite.com/Update/
is completely different than this:
http://yousite.com/update/
Does this help?
Hi Wyatt,
I discovered I need to include a username and password for the ftp site.How do I go about including that in my configuration?
cheers,Mark
If you're using the FTP site as a download site then you can specify the username and password like this:
ftp://username:password@yoursite.com/updates/%file%
Thanks Wyatt,
That has allowed me to continue.Now, wyUpdate is telling me I have the latest version installed, but my app is not yet installed onto this PC.I gather this means I cant use wyUpdater to install onto a new PC, even if using an "all.to.(currentversion)"?
cheers,Mark
The version number of your software (at least the version wyUpdate uses) is stored in the client.wyc file. So, if you're testing upgrading old versions of your software make sure you select the correct version in the drop-down list above the "Build wyUpdate" button in wyBuild.
For instance, if you're testing version 1.0 of your app, make sure you select "1.0" in the drop-down list. Then click "Build wyUpdate" and include the client.wyc with your test app.
We cover this in the step-by-step walkthrough.
Does this make sense?
Hi Wyatt,
Thank for your patience. 🙂
I am slowly making my way through this process. Just a couple more questions.
The walk-through states, "include all of your app files and folders along with "wyUpdate.exe" and "client.wyc"."When I include these latter two files I get a warning advising that I should not include wyUpdate.exe. Which is correct?
When I upload multiple version updates to my web server, do I need to place them in their own folders (just like I do on my dev PC), or can they be located in the same folder? (My impression is that the contents of wyserver.sys will dictate separate folders).
cheers,Mark
The walk-through states, "include all of your app files and folders along with "wyUpdate.exe" and "client.wyc"."When I include these latter two files I get a warning advising that I should not include wyUpdate.exe. Which is correct?
You left out the start of the sentence which says "When you're building your installer include all of your app files and folders along with ..."
So include all files in your installer and include everything but wyUpdate.exe and the client.wyc in your updates.
When I upload multiple version updates to my web server, do I need to place them in their own folders (just like I do on my dev PC), or can they be located in the same folder? (My impression is that the contents of wyserver.sys will dictate separate folders).
It's easier if you put them in separate folders to prevent name conflicts.