updater problem - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

robertabbe
Posts: 4
Joined: Sat Mar 24, 2007 10:51 pm

updater problem

I am having a problem with the updater.

I create an update and place it out on the website along with an AIU file. When I first attempt to apply the update, all is well and the update completes.

The problem comes in when I check for updates again immediately after successfully applying an update. What I would expect to see is the message saying your software is up to date.

Instead I get a message saying that the first line in the update file must be ;aiu;

I can browse out to the location of the aiu file and open it in my webbrowser. The file appears to be just fine.

I am using a licensed java version 4.8.1
robertabbe
Posts: 4
Joined: Sat Mar 24, 2007 10:51 pm

more info

It appears that the local update file (updates.aiu in my case) is becoming corrupt. When I open the file, I see the following which explains why the updater compains about the file not starting with ;aiu; any ideas why this is happening? This issue is a show stopper for release.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-1 ... strict.dtd">
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> -->
<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="0.1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<TITLE></TITLE>
</HEAD>
<BODY><P></BODY>
</HTML>
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The "Updates URL" (the URL from where the updates.aiu file is downloaded) is stored in the updater.ini file (which resides next to updater.exe). So please verify if that URL after upgrade is the same with the one before upgrade.

Please let us know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
robertabbe
Posts: 4
Joined: Sat Mar 24, 2007 10:51 pm

The location is the same and is correct.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this behavior on my computer. Please try to reproduce this issue on other computer and let me know if the problem persist.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
robertabbe
Posts: 4
Joined: Sat Mar 24, 2007 10:51 pm

The problem had been happening on at least 3 different pcs. I got around it by doing the following.

Since we aren't at release yet, I rolled the installer back to version 1.0.0.0 and had testers install it as they normally would.

I then generated version 1.0.1.0 and placed it out on our website.

I had each user delete their local update.aiu file from their documents and settings\user\application\updates folder.

The updates seemed to work on all pcs after that.

I'm really not sure what the problem is exactly but once the system is in the state I described no updates would work at all and updates.aiu became corrupt.

I'll try and provide better steps after release. Thank you for looking in to it.

Return to “Common Problems”