/build/static/layout/Breadcrumb_cap_w.png

Java Runtime Environment 6 Update 14 - Disable updates

Hi,

I am unable to disable updates in this application. I tried adding below registry keys in MST

[HKEY_LOCAL_MACHINE\Software\JavaSoft\Policy]
"EnableAutoUpdateCheck"=hex:0
"EnableJavaUpdate"=hex:0
"Frequency"=hex:10,d0,00,0
"NotifyDownload"=hex:0
"NotifyInstall"=hex:0
"UpdateSchedule"=hex:0

and adding properties 1. AUTOUPDATECHECK = 0, IEXPLORER = 1,JAVAUPDATE = 0, JU=0, MOZILLA = 1,SYSTRAY = 0 still I see "Check for Updates Automatically" option checked and "Update" tab available. Can anyone please let me know how to uncheck this option?

Many Thanks in Advance.


0 Comments   [ + ] Show comments

Answers (11)

Posted by: zipsantro 14 years ago
Purple Belt
0
Capture the registry keys (HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy) after unchecking "Check for Automatic Updates" from your source installation and merge it to your package.

It worked for me.

Jeeoo!
Santro
Posted by: Manu77 14 years ago
Orange Senior Belt
0
i tried it, still not working.
Posted by: rakesh.kumar 14 years ago
Senior Yellow Belt
0
We use a VBscript which will change the EnableJavaUpdate value to 1 after InstallFinalize
Posted by: Manu77 14 years ago
Orange Senior Belt
0
Thank you for your responses,

Issue was MSI was overwriting registry values during installation. I wrote a custom action to write registry values at the end of the installation. Now it is working.

Thank you again..
Posted by: anonymous_9363 14 years ago
Red Belt
0
There's no need for any of that nonsense. Search AD for 'deployment.properties' and 'deployment.config'.
Posted by: lam2070 14 years ago
Senior Yellow Belt
0
Manu77, you are writing the keys at the wrong place. See the location and key of my work below.

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableJavaUpdate"=dword:00000000
"EnableAutoUpdateCheck"=dword:00000000
"NotifyDownload"=dword:00000001
"NotifyInstall"=dword:00000001
"Frequency"=dword:01020000
"UpdateSchedule"=dword:0000000e
Posted by: turbokitty 14 years ago
6th Degree Black Belt
0
Until Sun learns how to use a public property, I'll only be trusting VBS to write the registry change.
Posted by: Manu77 14 years ago
Orange Senior Belt
0
Manu77, you are writing the keys at the wrong place. See the location and key of my work below.

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]



yes, correct key is "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy"


--------------
Manu
Posted by: santosh.gornal@gmail 14 years ago
Yellow Belt
0
Hi ALL,
This is my first java application

I am trying with jre1.6.0_15 by creating mst.

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy
EnableJavaUpdate = thru registry.
and even set values JAVAUPDATE=0,AUTOUPDATECHECK=0;IEXPLORER=0,SYSTRAY=0;JU=0;

still its not able to disable UPDATE Tab Disable or disabling checkbox and also tried
with CA
strComputer = "."
Set StdOut = WScript.StdOut

Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\JavaSoft\Java Update\Policy"

strValueName = "EnableAutoUpdateCheck"
dwValue = 0
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strValueName = "EnableJavaUpdate"
dwValue = 0
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

By Placing it in ALL Custom action ->Call vb script from embedded code -Normal Execute defered system/user context syncronous exit code.

thanks in Advance
Posted by: anonymous_9363 14 years ago
Red Belt
0
See post # 6.
Posted by: Cerbeos 12 years ago
White Belt
0
This is what I deploy to all of the machines in our environment and no one gets any notifications of updates or anything...

I add both x86 and x64 changes for good measure!!!





: Disable Java Updates
: (x64)
reg add "HKLM\Software\Wow6432Node\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /d "00000000" /t REG_DWORD /f
: (x86)
reg add "HKLM\Software\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /d "00000000" /t REG_DWORD /f

Comments:
  • Thanks Cerbeos saved my day......... - cvkr8456 11 years ago
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