jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

"Error: Wrong file size"

When trying to use the auto updater to download a patch, I'm getting the error "Error: Wrong file size", even though the compiled aiu contains the correct file size of the patch.

Any ideas to resolve this issue?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please make sure that the patch file (introduced in the "Updates Configuration Project") is the same with the one on your server.

Also please try that URL in Internet Explore to see if it's downloaded correctly.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Hi Gigi,

Thanks - your advice about checking the URL in a browser helped solve the problem.

The cause was that the server hosting the updates is a Windows 2003 Server x64, where there is no "default" MIME type mapping, and therefore the IIS MIME types for ".msp" and ".aiu" are not by default supported.

Once I set these MIME types to "application/octet-stream", it allowed the auto updates to work.

Jonni

Return to “Common Problems”