nicw
Posts: 11
Joined: Tue Mar 20, 2007 3:00 am

Auto Updater - Bug ?

I am using the Auto Updater in my project and it works quite well with the exception of one incident which occurred recently. I would consider this a bug.

The filesize of the msi project on the remote server, I suppose via compression algorithms just happened to be the exact same size as the previous version. The auto updater saw an update and prompted the user, but the download did not occur as the auto updater thought it already had it, and just ran the one it had which was the same version.

This either needs to be fixed, or a workaround to force a new download if the filesize of the msi just happens to the be the same as the previous one.

My current workaround was to add some extra text to the changelog file I include and I rebuilt the project until the size came out different.

Is there a better solution?

regards
NicW
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In the AIU file used by the updater every update has a section. Please make sure that these sections are different from one another.
I suppose via compression algorithms just happened to be the exact same size as the previous version.
Please note that the detection criteria of the Updater is based on the sections present in the AIU and not on the size of the updates.
The auto updater saw an update and prompted the user, but the download did not occur as the auto updater thought it already had it, and just ran the one it had which was the same version.
This probably happens because the AIU file is not configured correctly.
Is there a better solution?
Please make sure that the updates sections in the AIU are different for each update. If the problem persists then please provide a link to the AIU that shows this behavior or send it to support at advancedinstaller dot com so we can take a look.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”