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
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)
Please log in to answer
Posted by:
pjgeutjens
12 years ago
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
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:
mark_holland21
12 years ago
Posted by:
dhanraj
12 years ago
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.
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
A little quote from the link I posted earlier:
So you need to make your own and put it in the path I mentioned.
Kr,
PJ
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
Posted by:
dhanraj
12 years ago
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.