The Jave RE is giving me a headache. I need to specify web proxy for java. It is set to "use browser settings" by default, but this does not work when the browser (IE) is set to "automatically detect settings".

The only way I've found to set proxy for java with no user interaction is to set it in the "deployment.properties" file in C:\docsnsettings\MyUser\application data\sun\java\deployment. This works fine for the current user, but naturually not for anyone else using the same computer.

Has anyone found a way to get around this?

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


The deployment.properties is making problems. I found an article about making a shared properties-file on Suns webpage, but I didn´t get it to work.

Two examples to solve it:
1) Add an changed deployment.properties in the package and make it a keyfile, so Windows Installer will repair it for each user.
2) Make an xcopy in the loginscript so each user will get the file from a server on logon.

Answered 04/22/2005 by: jonasm
Blue Belt

Please log in to comment

Else try use the feature of Active Setup.
In the key HKLM\Software\Microsoft\Active Setup\Installed Components\%APP_NAME%

Place a Subkey : Your msi file in repair mode with

StubPath (REG_SZ) [SystemFolder]msiexec.exe \FAMSU "Your package MSI" \QN.
Version (REG_SZ) 1

When a use log on this computer, the OS compare the keys between HKLM and HKCU and if in the HKCU part you have the missing keys the Stubpath is executed.

I use this principe for all applications which install files in profile of user.

So, you must have ALLUSERS=2 . For alluser


Answered 04/22/2005 by: Stresher
Senior Yellow Belt

Please log in to comment