Proxy for Java RE
Hey,
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?
markus
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?
markus
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
jonasm
19 years ago
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.
/Jonas
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.
/Jonas
Posted by:
Stresher
19 years ago
Hi
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
CIAO
Eric
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
CIAO
Eric
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.