MartinaL Posted March 17, 2005 Share Posted March 17, 2005 Hi,I am trying to install Sun Java JRE 1.4.2_07 and I want to turn the automatic updates off when it is installed but whenever I add the code to do this to the RunOnceEx file it doesn't install Java at all and just skips it and goes onto install the next App.This is code that works and does installREG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" /fBut when I add the code suggested by Sun Java to turn off the Auto UPdates it doesn't work. Any ideas why?? I have tried various combinations of this but none work. They are;REG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" JAVAUPDATE=0 /fREG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" "JAVAUPDATE=0" /fREG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\051 /V 1 /D "%systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v" "/qn JAVAUPDATE=0" /fREG ADD %KEY%\051 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\051 /V 1 /D %systemdrive%\install\Java\j2re-1_4_2_07-windows-i586-p.exe /s /v "/qn JAVAUPDATE=0" /fHELP Link to comment Share on other sites More sharing options...
warrior1109 Posted March 17, 2005 Share Posted March 17, 2005 try adding this as a .reg file, and call it after installing the app.Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"SunJavaUpdateSched"=- Link to comment Share on other sites More sharing options...
MartinaL Posted March 18, 2005 Author Share Posted March 18, 2005 Tried this, and it didn't work.Am i supposed to replace the - after the = with something? Link to comment Share on other sites More sharing options...
BoardBabe Posted March 18, 2005 Share Posted March 18, 2005 N0 Link to comment Share on other sites More sharing options...
MartinaL Posted March 18, 2005 Author Share Posted March 18, 2005 I found the solution, have tested it and it works ;Disable Java Auto Updates[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]"EnableAutoUpdateCheck"=dword:00000000 Link to comment Share on other sites More sharing options...
WotC Posted March 18, 2005 Share Posted March 18, 2005 I would stick to the suggestion made by warrior1109. I assume with your methid tzhe juschd.exe (or however it is called) is still running and consuming RAM? If you remove it from the autostart its easier... 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