+ Post New Thread
Page 1 of 5 12345 LastLast
Results 1 to 15 of 68
Windows Thread, Packaging Java in Technical; I'm going to need to deploy the latest version of Java. I see that there is an MSI already available ...
  1. #1
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98

    Packaging Java

    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?

  2. #2
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,085
    Thank Post
    329
    Thanked 271 Times in 233 Posts
    Rep Power
    68
    Yes you need to create an mst file to alter certain settings or you can use ORCA to edit the msi.

  3. #3
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    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?

  4. #4
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,085
    Thank Post
    329
    Thanked 271 Times in 233 Posts
    Rep Power
    68
    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.

  5. Thanks to cookie_monster from:

    sjatkn (6th December 2009)

  6. #5
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    Perfect, thanks so much. I take it you've done this and it works?

  7. #6
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,085
    Thank Post
    329
    Thanked 271 Times in 233 Posts
    Rep Power
    68
    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.

  8. #7
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    I can see the values in the Registry using Orca. Just can't find the reboot one?

  9. #8
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,085
    Thank Post
    329
    Thanked 271 Times in 233 Posts
    Rep Power
    68
    Quote Originally Posted by Edu-IT View Post
    I can see the values in the Registry using Orca. Just can't find the reboot one?

    I can't look untill tomorrow but I think it's under the property table.

  10. #9
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    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.

  11. #10

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    6,190
    Thank Post
    151
    Thanked 946 Times in 737 Posts
    Rep Power
    197
    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

  12. #11
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    That the only registry change that needs to be made? See CM's earlier post.

  13. #12
    Mr.Ben's Avatar
    Join Date
    Jan 2008
    Location
    A Pirate Ship
    Posts
    622
    Blog Entries
    2
    Thank Post
    67
    Thanked 81 Times in 70 Posts
    Rep Power
    26
    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.

  14. #13
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    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.

  15. #14
    rocknrollstar's Avatar
    Join Date
    Jun 2008
    Location
    Hampshire
    Posts
    410
    Thank Post
    367
    Thanked 28 Times in 24 Posts
    Rep Power
    15
    Quote Originally Posted by Edu-IT View Post
    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?
    Do you know if this can be done under a system account? I.e. if I run this is a gpo as a script, will everything work ok, or does it need to be done as an admin user logged in? Thanks.

  16. #15
    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    5,153
    Thank Post
    289
    Thanked 385 Times in 357 Posts
    Rep Power
    98
    Quote Originally Posted by rocknrollstar View Post
    Do you know if this can be done under a system account? I.e. if I run this is a gpo as a script, will everything work ok, or does it need to be done as an admin user logged in? Thanks.
    I'm not entirely sure to be honest. I think I'm going to edit the package to be sure.

SHARE:
+ Post New Thread
Page 1 of 5 12345 LastLast

Similar Threads

  1. Application packaging
    By ajbritton in forum Courses and Training
    Replies: 3
    Last Post: 18th August 2010, 02:04 PM
  2. MSI Packaging
    By Kained in forum Windows
    Replies: 16
    Last Post: 10th February 2009, 03:38 PM
  3. [Pics] HP packaging policy
    By sparkeh in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 21st November 2008, 10:24 PM
  4. CC3/4 packaging?
    By powdarrmonkey in forum Network and Classroom Management
    Replies: 5
    Last Post: 20th October 2008, 10:08 PM
  5. Web site packaging
    By plexer in forum Web Development
    Replies: 1
    Last Post: 21st January 2008, 12:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •