+ 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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185

    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,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    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 09:07 PM.

  5. Thanks to cookie_monster from:

    sjatkn (6th December 2009)

  6. #5

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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,217
    Thank Post
    394
    Thanked 278 Times in 239 Posts
    Rep Power
    75
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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
    9,266
    Thank Post
    242
    Thanked 1,575 Times in 1,254 Posts
    Rep Power
    341
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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
    942
    Thank Post
    182
    Thanked 158 Times in 126 Posts
    Blog Entries
    2
    Rep Power
    65
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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
    435
    Thank Post
    387
    Thanked 28 Times in 24 Posts
    Rep Power
    20
    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
    7,250
    Thank Post
    404
    Thanked 630 Times in 575 Posts
    Rep Power
    185
    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, 02:38 PM
  3. [Pics] HP packaging policy
    By sparkeh in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 21st November 2008, 09: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, 11:50 AM

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
  •