bhawkins
Posts: 19
Joined: Thu Apr 05, 2012 3:54 pm

Updater: Error: Wrong File Size

Hello,

Just bitching here ... I just have spent over two (2) hours tonight trying to figure out what is wrong with the updater process.

The Updater logic works, patch works, however when I start the download I get the following:

Error: Wrong File Size.

So I check the file size ... all ok. Modify not to use MD5 for comparison ... no difference. Recopy the patch and setup files ... no difference. What can be the problem.

Decided to test not using http .. just local file access. So I make the changes to the Updater.ini file and the Updater.txt file.

It works !!

Must be http security, maybe the production location has some attribute set not be able to read ... making crap up in my head what could be wrong.

Finally, found that the path to the patch was incorrect ... missing one subdirectory reference.

Changed that and now it is working.

Was this my fault .. yes most definitely. Writing this for three (3) reasons:

1) I feel better now that I have had a little rant

2) Hopefully someone else will be able to find "Error: Wrong File Size" and hopefully this will help them out.

3) Please, please Mihai would it be too much to have an error that says "Error: File not found" if that is the case and not a generic "Error: Wrong File Size".

Cheers,
Bruce
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater: Error: Wrong File Size

Hi Bruce,

I added the issue on our TODO list and discussed it with our development team so they can consider improving the updater error messages in a future version.
Thank you for bringing this to our attention and for helping us make Advanced Installer a better product.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
murug86
Posts: 52
Joined: Mon May 21, 2012 10:59 am

Re: Updater: Error: Wrong File Size

Hi,

I had also faced this issue.

Mostly always, this is because, the update-text-file that the updater.exe is downloading does NOT refer to the LATEST version (or build) you have made available for download.
As i have noticed, even if you simply re-build your exe, you MUST re-make the update-text-file.

And i have never resorted to Un-checking the MD5 option.

Hope it'l work.

Return to “Common Problems”