Failed scheduled update causes further updates to fail - 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!

kleinsch
Posts: 2
Joined: Mon Jul 14, 2008 10:15 pm

Failed scheduled update causes further updates to fail

Paid user of Enterprise Advanced Installer here, have been very happy with your product so far. This weekend we did an upgrade of our servers and ran into a nasty issue for our clients. Basically, if the updates file can't be found during a check for upgrade, all future checks will fail.

Steps to reproduce:

Get a project working with updates (should be able to check for update and have it pass - Your software is up to date)
Go into your updater.ini and change the path to the updates file it's checking (NOT the file name, just an invalid path - i.e. working path is /downloads/updates.txt, change to /downloads123/updates.txt)
Check for update (should get an error that the file should start with ;aiu;)
Now go back to updater.ini and change the path back to the working one
Check for update (will incorrectly get a message that the file should start with ;aiu;)
Only solution is to delete C:\Documents and Settings\xxUserxx\Application Data\xxProgramName\updates.aiu upon which updates will immediately work properly.

This happened to us in production this weekend:
Changed our web server config (losing our updates.txt path by accident)
Users had updates running at 2 AM so they got the bad updates.aiu file because of a 404 error on our updates file
Changed the web server config back to normal, users are still seeing the error that files should start with ;aiu; and we're having to send them an email telling them to manually delete a file

Your help would be very much appreciated!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Failed scheduled update causes further updates to fail

Hi,

Please note that the file on the server must be newer than the file downloaded by the Updater. Therefore, if the Updater downloaded the 404 message, when you fix the Updates Configuration file you need to make sure that its date is later than the message.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kleinsch
Posts: 2
Joined: Mon Jul 14, 2008 10:15 pm

Re: Failed scheduled update causes further updates to fail

Aha!

Awesome, was that in the documentation somewhere and I missed it? If not, it'd be nice to add that so nobody else runs into this.

Thanks,
Nick
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Failed scheduled update causes further updates to fail

Hi,

This is not mentioned in the documentation. However, we will include it in the Help in the 6.5 version of Advanced Installer. Thank you for your suggestion.

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

Return to “Common Problems”