sjatkn (6th December 2009)
I'm going to need to deploy the latest version of Java. I see that there is an MSI already available for this which is great however I am wondering; is there anything I need to do to stop it from displaying the 'download latest Java' updates that I get on my home machine?
Yes you need to create an mst file to alter certain settings or you can use ORCA to edit the msi.
I've just looked on App Deploy, they say you can use command line arguments?
jre-6uXX-windows-i586-s.exe /s AgreeToLicense=YES IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0
That will register it in IE, accept the license and disable the update.
I'd prefer to use Orca I think to edit the MSI if I have to take that route, I've not mastered MST files yet. What parts need editing, do you know?
Yep that will probably work. These are the options to edit in the msi if you're using group policy.
Transform:Property:
1. AUTOUPDATECHECK = 0
2. EULA = 1
3. EULA_JAVAFX_ACCEPT = yes
4. IEXPLORER = 1
5. JAVAUPDATE = 0
6. JU=0
7. MOZILLA = 1
8. SYSTRAY = 0
I'm only on update 14 at the moment apparently it's changed slightly for 17, this is on appdeploy.
For JRE 6_17 follow these steps:
------------------------------------------------------------
-Download from:
"https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u17-oth-JPR@CDS-CDS_Developer"
------------------------------------------------------------
-Extract MSI + CAB from "%USERPROFILE%\Application Data\Sun\Java\jre1.6.0_17"
------------------------------------------------------------
-Create MST or command line with property's:
AUTOUPDATECHECK=0
EULA=1
IEXPLORER=1
JAVAUPDATE=0
JU=0
MOZILLA=1
REBOOT=ReallySuppress
SYSTRAY=0
------------------------------------------------------------
- Add the EULA user info by adding the RegKey/value:
HKCU\Software\JavaSoft\Java Runtime Environment\1.6.0_17\
EULA=1 (REG_DWORD)
I did this by using Active Setup, learn more about this technique on "http://www.etlengineering.com/installer/activesetup.txt"
Last edited by cookie_monster; 6th December 2009 at 10:07 PM.
sjatkn (6th December 2009)
Perfect, thanks so much. I take it you've done this and it works?
I've been using this method for over three years from 1.5 to 1.6 update 14 and the msi works flawlessly there was a minor issue with a change in update 13 or 14 but it's all sorted now.
I think the active setup part at the bottom of the quote is new for update 17 but it appears to be explained there.
I can see the values in the Registry using Orca. Just can't find the reboot one?
Ah. So do I edit the 'Registry' area or the 'Property' area. If you could check, that would be great. Save me a few minutes and a few F words I imagine.

To edit using the registry, this is what you need to import:
Code:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy] "EnableJavaUpdate"=dword:00000000
That the only registry change that needs to be made? See CM's earlier post.
How about just using GPO's to stop jusched.exe from running? - Saves playing with the MSI.
While your at it, stop jqs.exe (The Java Quick Starter) from running to to saves some resources.
I'd much prefer to edit the MSI. It isn't that difficult to do and saves creating and remembering what the separate policies are.
There are currently 1 users browsing this thread. (0 members and 1 guests)