danno74 Posted March 4, 2008 Share Posted March 4, 2008 Greetings,Has anyone been able to use an install bat that disables the aut update feature of Java in v6u3? I see in previous versions there is an AUTOUPDATE flag that should be set to 0, but as stated, in my trials it doesn't work. Do I have to enter the following registry key as this post dictates in order for it to work?Windows Registry Editor Version 5.00;Removes Java Update[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]"EnableJavaUpdate"=dword:00000000"PromptAutoUpdateCheck"=-Thanks in advance! Dan Link to comment Share on other sites More sharing options...
darks0ul Posted March 4, 2008 Share Posted March 4, 2008 This is what I have for update 4Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]"EnableJavaUpdate"=dword:00000000"NotifyDownload"=dword:00000000"NotifyInstall"=dword:00000000"PromptAutoUpdateCheck"=-I also set the AUTOUPDATECHECK property to 0 in the MSI file (you can pass it as a parameter using msiexec). If it's 0 (or false), the java update process won't be installed. Link to comment Share on other sites More sharing options...
oskingen Posted March 5, 2008 Share Posted March 5, 2008 I do it this way. and it works fine. start /wait JRE6u4\jre-6u4-windows-i586-p.exe /s AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 Link to comment Share on other sites More sharing options...
danno74 Posted March 5, 2008 Author Share Posted March 5, 2008 So I used the following:jre-6u5-windows-i586-p-s.exe /s AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0I check under the Java Control Panel and under the Update tab, "Check for Updates Automatically" is checked. Does this indicate it didn't work? I'm going to add the REG key as well, see if that works. Link to comment Share on other sites More sharing options...
danno74 Posted March 5, 2008 Author Share Posted March 5, 2008 It works when you do a REGEDIT /s "jre.reg" with the values mentioned from darks0ul. The update tab no longer appears in the java console. Thanks for the help. Link to comment Share on other sites More sharing options...
oskingen Posted March 6, 2008 Share Posted March 6, 2008 So I used the following:jre-6u5-windows-i586-p-s.exe /s AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0I check under the Java Control Panel and under the Update tab, "Check for Updates Automatically" is checked. Does this indicate it didn't work? I'm going to add the REG key as well, see if that works.yeah i saw it checked also under control panel but i never saw an icon from java on my taskbar. I don't think it check for update Link to comment Share on other sites More sharing options...
Martin H Posted March 6, 2008 Share Posted March 6, 2008 To fully disable auto-updating, then just use the msi install switch : 'AUTOUPDATECHECK=0'.When using 'AUTOUPDATECHECK=0', then the java update schedular isn't placed into the Run reg key anymore and hence, auto-updating is fully disabled.However, there's a bug in the control-panel, so that it still looks like auto-updating is enabled, but it is in fact absolutely disabled...I personally do not use the ADDLOCAL switch, as i think that the JRE package is way to bloated allready as it is :If ADDLOCAL=jrecore[,extra][,other_US] is used, jrecore indicates the core of the JRE will be installed;extra (optional) indicates additional Fonts, Colors, and Soundbank will be installed;other (optional) indicates locale-specific .jar files will be installed.If ADDLOCAL=ALL is used, then all the features will be installed. If ADDLOCAL is not used, then only the recommended features will be installed: jrecore will be installed; extra will not be installed; other will be installed only if l10n support, other than English, is installed.Here's the config.txt which i use for my 7z switchless silent installer(I use Opera, so i don't need to enable support for any extra browser plugins, as Opera is smart enough to communicate directly with the Java runtime) :;!@Install@!UTF-8!RunProgram="3ca9116.msi /qn SYSTRAY=0 AUTOUPDATECHECK=0"GUIMode="2";!@InstallEnd@! Link to comment Share on other sites More sharing options...
darks0ul Posted March 6, 2008 Share Posted March 6, 2008 by the way can anyone extract jre-6u5-windows-i586-p.exe? Link to comment Share on other sites More sharing options...
oneless Posted March 6, 2008 Share Posted March 6, 2008 ...Has anyone been able to use an install bat that disables the aut update feature of Java in v6u3? ...i just delete a reg keyRegDelete ( "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" , "SunJavaUpdateSched" )[autoit code]same regkey for 6u2, 6u3, 6u4, 6u5 for now [ and MSFN will let me know when a new version is coming. ] Link to comment Share on other sites More sharing options...
Martin H Posted March 6, 2008 Share Posted March 6, 2008 by the way can anyone extract jre-6u5-windows-i586-p.exe?...Just run the installer and retrieve the msi from %temp% Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now