Updater does not update - 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!

lcd877
Posts: 5
Joined: Thu Sep 22, 2011 2:17 pm

Updater does not update

Hi,

Some of our users have problems with updating. We have been using the AI Updater for several years now and have now gotten access to a users' machine with the following problem:

Running the command line (usually invoked from our program on a user request or on the command line):
updater.exe /checknow -url http://www.ourdomain.com/updates/update.aiu

incorrectly gives the response: Your software is up-to date

When we copy the file update.aiu to update1.aiu on the server and then modify the url accordingly, the updater will alert the user that an update for the software is available.

We noticed that an older copy of the update.aiu file is available in %appdata%/Company/Product/updates. It is almost one month old.
If we rename that local update.aiu file, the updater will also also alert us to the update.

So apparently the updater sometimes ignores the /checknow flag if that cached update.aiu file is present and then will never trigger an update (we have tried this on three consecutive days, the updater always incorrectly returned 'Your software is up to date').

We are now thinking about deleting the local copy of the .aiu file before launching the updater to make sure that every customer sees the update.

We are still using version 7.7 of AI, maybe this is a known issue that has been fixed in the mean time?

Thanks,
Alexander
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater does not update

Hi Alexander and welcome to Advanced Installer forums,

The updater compares "update.aiu" file's date with the date reported by the web server. If the date of the file is more recent than the one reported by the server, then the updater doesn't download the file.

It appears your web server doesn't report the date correctly.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lcd877
Posts: 5
Joined: Thu Sep 22, 2011 2:17 pm

Re: Updater does not update

Hi Mihai,

Thank you for the quick reply. However, I checked my web server's headers using the following web service:
http://www.seoconsultants.com/tools/headers

My web server returns the correct headers. The last modified field displays as:
Last-Modified: Thu, 15 Sep 2011 20:33:31 GMT

The locally cached aiu file has a date of 8/28/2011

If my web server would not return the correct last-modified date, then all users who have run the updater before the new version was released would have this problem, but this is not the case.

I suspect that the problem might be caused by a cache (e.g. operated by the problematic user's internet service provider). I will check this when I get access to the PC where the problem occurs again at the end of next week. But of course, I don't have any control over the internet infrastructure that sits between my users' computers and our web server. Is there an option to force the updater to reload to overcome such problems?

Regards,
Alexander
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater does not update

Hi,

Unfortunately there is no predefined way to force the Updater to overcome this comparison criteria.

Also, the developer responsible for this segment of the application who could give us more insight on the matter, is currently on vacation for a couple of weeks.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lcd877
Posts: 5
Joined: Thu Sep 22, 2011 2:17 pm

Re: Updater does not update

Hi,

This is definitely a bug.

I have had access to the user's computer again and performed some additional command-line http requests which included the 'IF-MODIFIED-SINCE' field. The server definitely returns the correct information, there is no caching issue in between (as I had suspected in my previous post).

This is a problem with the updater!

Could this be an internationalization issue? The user's PC is Windows XP (German).

Please look into this matter. I will not update this PC until Tuesday just in case that you need more information.

Best regards,
Alexander
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater does not update

Hi Alexander,

Can you please send us the URL for the "updates.aiu" file so we can replicate this behavior?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lcd877
Posts: 5
Joined: Thu Sep 22, 2011 2:17 pm

Re: Updater does not update

Hi Mihai,

I want to avoid having crawlers run over our .aiu files. Therefore I am giving you the url in two pieces:

Our site is:

The updater files are located in the subfolder: /updates/sam6.all.aiu

We have now implemented a work-around to avoid this problem by keeping track of the update intervals ourselves and deleting the locally cached sam6.aiu before calling the updater to check for updates. But this is not pretty...

- Alexander
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater does not update

Hi Alexander,

The link you provided was deleted because it's against our spam filters.
We got the link however and we'll get back to you as soon as we have any conclusive result to our investigation.

For any future reference you can safely send any resources to support at advancedinstaller dot com.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater does not update

Hi Alexander,

Unfortunately we cannot replicate this behavior on our test machines using the data you provided.

Would it be possible to send us a screenshot of the following registry value in regedit:

Code: Select all

HKEY_CURRENT_USER\Software\Caphyon\Advanced Updater\Test.Test\Settings\LastModified
The screenshot should be taken on the machine that reproduces this behavior right before the issue occurs.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”