rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Issue in Advanced Installer's updater program behind a proxy

Dear AI Team,

We are facing a issue when using AI updater program for an installer behind a proxy. Proxy requires credentials i.e. Username and Password. So user is asked about these credentials when updater runs.

We have already tried the solutions mentioned in other related threads but unfortunately those are not working. Can you please help us find a way so that AI can use those proxy credentials?

Kindly reply ASAP so that we can work out accordingly.

Looking forward for the helpful response. Thanks in advance.

Regards,
Rohit Garg
rohitgarg2523@gmail.com
R
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue in Advanced Installer's updater program behind a p

Hi,

It not clear to me, do you want that the credentials to be remembered and the prompt that asks for them not to appear? If so, you can check
Updater To Handle 407 - proxy post.

Or your problem is that with the credentials entered the connection fails?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Re: Issue in Advanced Installer's updater program behind a p

Hi Bogdan,

Our problem is only that User is prompted with the credentials dialog box when updating as the Installer is behind the proxy.

We will try your suggested method and update you for any help.

Thanks & Regards,
Rohit Garg
rohitgarg2523@gmail.com
R
rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Re: Issue in Advanced Installer's updater program behind a p

Hi Bogdan,

It is not working. Our issue is updates.ini file is on our download server and proxy in between user and download server i.e. company proxy requires user to enter credentials in case if he wants to update. We want this dialog not to appear.

Please help with this.

Thanks & Regards,
Rohit Garg
R
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue in Advanced Installer's updater program behind a p

Hello Rohit,

Please keep in mind that if on target machine is installed an older version of Internet Explorer (IE 8 or below), then you cannot use an URL having user info (username and password) embedded. This is because these kind of URLs are rejected by default by IE 8 or below versions. Please take a look on "Internet Explorer does not support user names and passwords in Web site addresses (HTTP or HTTPS URLs)" article.

So, the URL containing embedded username and password would work only on target machines having an IE 9 or newer versions.

Also, if the username or password embedded into your URL contain special characters (e.g. &, #, etc) then you should escape them. Please take a look on our "URL credentials for updates" thread. However, please keep in mind that currently due to an Advanced Installer issue, the Updater tool cannot correctly parse an URL containing escaped special characters. So, if the embedded credentials into the URL should contain special characters, the Updater will not correctly reach silently the URL. A fix for this issue will be available in our next version (11.6) of Advanced Installer.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rohitgarg20
Posts: 31
Joined: Thu Mar 13, 2014 6:31 am

Re: Issue in Advanced Installer's updater program behind a p

HI Daniel,

What you just told is not related to my query. I will try to explain it again:

What you told is about when the web server itself asks for credentials. But this is not the case here. In our scenario, the proxy server which is between client and actual webserver requires credentials.

So it is not the web server where the updated information is hosted that asks for the username/password but it's the proxy server where the updater client sits behind that requires authentication in order to gain access to the internet.

I hope now you get it and give us a correct way to avoid this problem. Your help will be highly appreciated.

Thanks & Regards,
Rohit Garg
R
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue in Advanced Installer's updater program behind a p

Hello Rohit,

Unfortunately, we don't have support to silently set the proxy server authentication info (username and password). I've added an improvement on our TODO list so we can add in a future version of Advanced Installer an updater command line which will set the username and password credentials for proxy server. So, you will be able to call the updater (e.g. within your application) using a command line which will set the proxy server credentials. We'll update this thread when the improvement will be out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Issue in Advanced Installer's updater program behind a p

Hello,

This improvement has been added in version 11.7 of Advanced Installer released on December 16th, 2014.

The command line sintax is:
/set rememberpassword <username> <pasword>

For detailed information please take a look on the Auto Updater article.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”