bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Updater To Handle 407 - proxy

Hi

I need clarification for two points. We are using AI 9.8 Entr lins

1. We a have a application which will invoke the updater from every one day. In the proxy environment, when the updater is invoked its prompting a dialog to enter user name and password (407). Is dar a way to pass this value as commend line ?? we want to handle this silently how can we achieve it ???

2. After installation - some times the images for shortcut icons are missing. This is happening very rarely. How to handle this???
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater To Handle 407 - proxy

Hello,
1. We a have a application which will invoke the updater from every one day. In the proxy environment, when the updater is invoked its prompting a dialog to enter user name and password (407). Is dar a way to pass this value as commend line ?? we want to handle this silently how can we achieve it ???

In order to achieve what you want you can embed the username and password in the updates configuration file URL. For example you can use an url like this:

Code: Select all

http://userid:password@www.example.com/download/updates.txt
So, you can call the updater from your application using a command line like this:

Code: Select all

updater.exe /silentall -url http://userid:password@www.example.com/download/updates.txt
Also, as another solution, when the updater will prompt the user for username and password it will have an option to save the related credentials for future updater checks. In this manner the updater will not prompt for username and password in the future.
2. After installation - some times the images for shortcut icons are missing. This is happening very rarely. How to handle this???
I'm not sure why this happens. This may be caused by a Windows Installer wrong behavior which may appear when you are using custom icons for your shortcut files. So, as a solution you could avoid to use custom icons for your shortcut files.

Also, can you reproduce the behavior on multiple clean machines? If so, can you try to identify a step by step test case scenario and send it us so we can try to reproduce and investigate this?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Updater To Handle 407 - proxy

ThnQ for the reply..

If user gives Wrong Username and password, what would be the behaviour? does the updater again promt the user for details?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Updater To Handle 407 - proxy

Hello,

Yes, it will prompt again for credentials.

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

Return to “Building Installers”