/build/static/layout/Breadcrumb_cap_w.png

deployment.properties file Java 6 update 30

Hi all,

I'm in the process of packaging Java 6 update 30. I want to disable auto-update and also ensure that in the Java control panel the option under the advanced tab "JRE Auto-Download" is set to "Never Auto-Download". It looks like this setting is stored in the deployment.properties file which is stored in the "%username%\appdata\locallow\sun\java\deployment" folder. Specifically the line is "deployment.javaws.autodownload=NEVER".

I have tried adding this file to my transform and using active setup to ensure it gets copied to each users appdata area on login. However, it seems Java creates it's own default deployment.properties file once you install the program. Has anyone come across this? Any suggestions?

I have set the following properties in my transform

AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1 SYSTRAY=0

I've also added the following registry keys to my transform

"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f
"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v EnableAutoUpdateCheck /t REG_DWORD /d 0 /f
"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v NotifyDownload /t REG_DWORD /d 0 /f
"HKLM\SOFTWARE\JavaSoft\Java Update\Policy" /v NotifyInstall /t REG_DWORD /d 0 /f

Rgds,
Mark

0 Comments   [ + ] Show comments

Answers (8)

Posted by: pjgeutjens 12 years ago
Red Belt
0
Mark,

I tend to put a system-wide deployment.config file in my JRE packages. Its supposed to go in the folder
<Windows Directory>\Sun\Java\Deployment\
Then I put the deployment.properties file in the same folder and point to it in deployment.config. For one, no messing about in the user profiles..

Have a look here for an overview of the principles involved.

Kr,
PJ

Comments:
  • What I am wanting to do is put the deployment.properties file on a server so if I want to make changes to it I won't have to copy it to all the computers again. In version 6 that worked great but in version 7 it ignores the deployment.config file for the system and makes a user one if the Control Panel is opened. - jfrasier 11 years ago
Posted by: anonymous_9363 12 years ago
Red Belt
0
Yup, me too.
Posted by: mark_holland21 12 years ago
Fourth Degree Green Belt
0
Hey guys,

I've done that and it works a treat! Thanks very much for your help!

Rgds,
Mark
Posted by: dhanraj 12 years ago
Senior Yellow Belt
0
Hi all,

I have tried the above mentioned method to disable the auto-update for Java(TM) 7 Update 1 (64-bit) application and I am not lucky with this.Because its not working to me.

I am not able to find the deployment.config file in windows directory or appdata.

Deployment.config file is not available in any part of the system.

I am able to get deployment.properties in the following location C:\Users\Windows 7 64 Bit\AppData\LocalLow\Sun\Java\Deployment after clicking the java from control panel.

So please can someone help me to disable the auto-update of this application and make this package is done as soon as possible.

Looking for answers from you techies.



Thanks.

Comments:
  • This is where the update options are in the registry.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy] - KevinViolette 11 years ago
Posted by: pjgeutjens 12 years ago
Red Belt
0
A little quote from the link I posted earlier:

The deployment.config file is used for specifying the System-Level deployment.properties in the infrastructure. By default no deployment.config file exists; thus, no system-wide deployment.properties file exists
So you need to make your own and put it in the path I mentioned.

Kr,
PJ
Posted by: dhanraj 12 years ago
Senior Yellow Belt
0
Hi ,

Thank you.

I am a just six month baby in packaging .So I am not aware of how to create the deployment.config file.

Can you please help me to create the deployment.config file or if you any code please share me.

Really I am looking forward to hear from you.

Many thanks in advance.
Posted by: pjgeutjens 12 years ago
Red Belt
0
Dhanraj,

read the link that I posted in #2 and have a look here for some more info.

Kr,
PJ
Posted by: dhanraj 12 years ago
Senior Yellow Belt
0
Hi PJ,

Yes,Its working excellent for me and very much thanks.

Hope will hear from you lot in future.

Many thanks.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ