afhampton
Posts: 4
Joined: Sat May 19, 2007 3:24 am

Error: Wrong file size

First, I have already searched through the forum for a solution but none of them given resolves the issue (at least that I could find).

Using: AI 4.9.4 on WinXP SP2

When updating, the system is able to see the downloadable msi updates but when the download is initiated I get a wrong file size error.

I can download the file successfully by typing the download url in a browser window but the updater gives me an error.

Odd thing is that I am not using file size as a Installation Detection paramenter. I am using File and Version info. Why would I get a wrong file size error and how do I resolve the issue?

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The size that the updater complains about is the size of the update file. If you create the updates configuration file using the "Updates Configuration" type of project this size is obtained automatically from the file added as update.

So please verify that the "Size" in the updates.ini file is the size of the file pointed in the "URL" field.

If the problem still persist please send the updater.ini and the updates.ini files to support at advancedinstaller dot com so we can take a look.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
afhampton
Posts: 4
Joined: Sat May 19, 2007 3:24 am

Hi gigi:

This item was resolved by changing the "z" digit of format "x.y.z" of the version number on the update (i.e. ver 1.1.0 to 1.1.1) . Not sure why the error gives a wrong file size message when the actual issue is a same version number.

This problem was verified with several different builds using three different applications. Maybe this is bug that needs to be fixed in AI.

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I think the behavior you encounter is due to that fact that you re-use an update section (in the "Organization" tree from "Updates Configuration" project).

Note that it is required to place each new update data in a section with a new and different name from the others. This is because the Updater will download the update file in a folder with the same name as the section.

You can read more about this here:
http://www.advancedinstaller.com/user-g ... ation.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”