Thursday, April 15, 2010

Disabling Automatic Updates in Sun JRE application

To Disable AutoUpdates in JRE Application, we need to add the below custom actions and have to place it under Execute Immediate sequence.

These custom actions will run from destination and will add the below registry keys during the time of installation.

reg add "HKLM\SOFTWARE\Javasoft\Java Update\Policy" /v EnableJavaUpdate /t reg_dword /d 0 /f

reg add "HKLM\SOFTWARE\Javasoft\Java Update\Policy" /v NotifyDownload /t reg_dword /d 0 /f

reg add "HKLM\SOFTWARE\Javasoft\Java Update\Policy" /v NotifyInstall /t reg_dword /d 0 /f

reg add "HKLM\SOFTWARE\Javasoft\Java Update\Policy" /v EnableUpdateCheck /t reg_dword /d 0 /f


Also, change the value of the below properties to "0".

JU=0

AUTOUPDATECHECK=0

JAVAUPDATE=0

SYSTEMTRAY=0

No comments:

Post a Comment