Quick Walkthrough: Deploying Java 1.6 update 16
Silently and taking extra measures to make sure it's not auto-updating
Overview
The Java Runtime Environment is another great example of an application that does everything it can to keep its autoupdate features intact. You can pass the JRE install binary several switches that seemingly disable autoupdates, but "Java Update" has its own registry tree that is untouched by these settings.
This method uses a batch file that is processed after the main package to disable the Java Update registry keys. From what I've seen it should work for any of the Java 1.6 updates.
Deployment Behavior
Silent
No reboot
Register Java for IE and Firefox
Disable all autoupdates
Steps to Follow
- Download jre-6u16-windows-i586.exe from Sun's website
- Download jredisableupdate.bat
- Move these files to the web or UNC share you typically use to deploy software
- Add the JRE installer to your LANDesk Software Distribution packages
- For Install/Uninstall Options paste: /v"/qn JAVAUPDATE=0 IEXPLORER=1 MOZILLA=1 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 REBOOT=ReallySuppress"
- Make your JRE package a "public distribution package"
- Add the jredisableupdate batch file to your LANDesk Software Distribution packages
- For Dependent Packages make the JRE package you added previously a dependent package
- When you deploy the batch file package, JRE 1.6 will be installed first and the batch file processed second