No Access to Updater - Advanced Installer Community
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

No Access to Updater

When one of my users runs my Updater, he gets a dialog which says (translated from Norwegian) "No Access" and nothing more. The Updater points to a URL which is valid and the text file there says only ";aiu;". That is, the file is otherwise empty and other users get the expected message, "Your software is up-to-date."

(I think in a previous email you have the AIP for my Updater config project)

This user has MS Security Essentials (no other firewall or virus checker) but disabling it does not solve the problem. He does have Internet access through his browser, even when the "No Access" message is on the screen.

What could be preventing his access through the updater?

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: No Access to Updater

Hi,

The same empty file, which contains only ";aiu;", is visible for us too, when we tried to access your updates file. I've used the URL from an .aip you've setn us previously.

It is not correct for the file to contain only the above mentioned text. The updates.txt file should be complete, i.e. contain all the information required by the updater.

The users should receive the message "Your software is up-to-date" only if the install detection search defined in the updates.txt file is fulfilled.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Re: No Access to Updater

I am away from my main computer now but I think that either the help file or a support person said that a file with only that header and nothing else was legal and would return "Your software is up-to-date" ... and it does for most people. But I think that's beside the point.

What does "No Access" mean and why would only this one user get that response?

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: No Access to Updater

Hi,
I am away from my main computer now but I think that either the help file or a support person said that a file with only that header and nothing else was legal and would return "Your software is up-to-date"
You are correct, sorry about that.
What does "No Access" mean and why would only this one user get that response?
This could happen if the download location for the updater would be set to a location where the user does not have permissions to write. Can you ask him to edit the INI file found next to the updater and change the download location to another location, where he is sure there are no problems for the updater to temporary write the updates.txt file
which it downloads from the servers?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Re: No Access to Updater

Bogdan wrote:
What does "No Access" mean and why would only this one user get that response?
This could happen if the download location for the updater would be set to a location where the user does not have permissions to write.
OK, it turns out that the user logged in and installed for "Everyone" and then logged in as someone else.

The download path is set to the default of:
[AppDataFolder][Manufacturer]\[ProductName]\updates\

...but AppDataFolder includes <username> so the second user didn't have access to it.

Again, the path above is the default that populates the field with a new project. So I would think that a lot of applications and people would encounter this problem. Wouldn't it make more sense for the default to be this?
[CommonAppDataFolder][Manufacturer]\[ProductName]\updates\

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

Re: No Access to Updater

Hello,
Wouldn't it make more sense for the default to be this? [CommonAppDataFolder][Manufacturer]\[ProductName]\updates\
Thank you for your suggestion and for helping us make Advanced Installer a better product. I have informed the development team and they will consider adding this in a future version of Advanced Installer.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: No Access to Updater

Hello,

This improvement was added in version 10.5 of Advanced Installer released on September 02, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”