+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
Downloads Thread, Java Runtime Environment 7 Update 40 released. Update warning can now be disabled! in Links, Downloads and Scripts; So are you using an MSI to push those two files out too?...
  1. #16

    Edu-IT's Avatar
    Join Date
    Nov 2007
    Posts
    7,161
    Thank Post
    403
    Thanked 623 Times in 569 Posts
    Rep Power
    181
    So are you using an MSI to push those two files out too?

  2. #17

    Join Date
    Oct 2013
    Posts
    7
    Thank Post
    3
    Thanked 1 Time in 1 Post
    Rep Power
    0
    No, I actually use the same vbscript that I embed in the MST - along with its main purpose to remove the JAVA start menu folder, I did add few lines that call a batch file from a network share (on our deployment server), using the xcopy command to dump the whole Directory Sun (with subdirs Java, Deployment, and the files there) in Windows Folder. The batch file has a IF statement, so if the Sun directory already exists, it will just exit without any actions; otherwise it will deliver that content.

    I figured the MST can be handy for pushing future JAVA updates, as BOTH actions in the embedded vbscript (Remove Start Menu Dir and Deploy system-wide config) are conditional, and if there is no need to apply them, they will be skipped...

  3. #18
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    Anyone having any luck with 7u45? I've accessed the MSI using the instructions in Ivan's blog, but neither Orca or InstEd will seem to open it (aside from whether to use a transform or edit directly). The MSI seems much larger than previous versions, unless I've cocked something up How to package and deploy Java JRE 1.6.0_26 via Group Policy | ivan's blog

  4. #19

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,678
    Thank Post
    861
    Thanked 650 Times in 431 Posts
    Rep Power
    499
    Oh for crying out loud! Only just got 7u40 deployed!!!

    *mutter mutter grumble grumble*

  5. #20
    Gongalong's Avatar
    Join Date
    Oct 2011
    Location
    United Kingdom
    Posts
    908
    Thank Post
    820
    Thanked 19 Times in 17 Posts
    Rep Power
    10
    I haven't got around to an update since 7u25. Mind you that was probably only a couple of weeks ago (or June, possibly).

  6. #21
    JHLEHS's Avatar
    Join Date
    Sep 2012
    Posts
    153
    Thank Post
    15
    Thanked 11 Times in 10 Posts
    Rep Power
    6
    syswow64 blog: Java 7 update 45 Enterprise deployment

    This is a very useful read if you want to turn off updates and do a whole lot more.

  7. Thanks to JHLEHS from:

    Gongalong (13th November 2013)

  8. #22

    Join Date
    Dec 2013
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    This script does not work properly on Windows XP. Here is alternative:

    dim strJavaPath

    set wshShell = CreateObject("WScript.shell")
    set scrFilesystem = CreateObject("Scripting.FileSystemObject")

    strJavaPath = wshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\Shell Folders\Common Programs") & "\Java"

    if scrFileSystem.FolderExists(strJavaPath) then
    scrFileSystem.DeleteFolder(strJavaPath)
    end if

    This script works both on Windows XP and Windows 7 (maybe other versions too).

  9. #23

    Join Date
    Oct 2013
    Posts
    7
    Thank Post
    3
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks for the input, goran13!
    That is true (would not work for WinXP), as the variable %PROGRAMDATA% in XP points to "C:\Documents and Settings\All Users\Application Data", where there is indeed a "Microsoft" Folder, but there is no "Windows" folder where normally the Start Menu > Programs > Java will be placed.
    Instead, a "%ALLUSERSPROFILE%\Start Menu\Programs\Java" can be used for XP.
    However, your alternative is better, as it is applicable for both OS, which is pretty cool.

  10. #24

    Join Date
    Dec 2009
    Posts
    607
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    there does seem to be missing a few bits here

    Heres what i have done for the latest update !

    create two files Deployment.config and deployment.properties

    copy the original settings from your user profile deployment.properties into the new deployment.properties

    and add the following

    deployment.security.mixcode=HIDE_RUN
    deployment.security.level=MEDIUM
    deployment.javaws.autodownload=NEVER

    inside the deployment.config put the following

    deployment.system.config.mandatory=true

    copy these to a network share . Now in the previous page there was the method on using a VBS to remove the startmenu folder . I have added the following to it to keep it nice and simple !

    'Option Explicit
    'On Error Resume Next
    dim strJavaPath
    set wshShell = CreateObject("WScript.shell")
    set scrFilesystem = CreateObject("Scripting.FileSystemObject")
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    strJavaPath = wshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\Shell Folders\Common Programs") & "\Java"
    if scrFileSystem.FolderExists(strJavaPath) then
    scrFileSystem.DeleteFolder(strJavaPath)
    end if
    strSource = "\\servername\packages\Java Runtime Environment\JRE 7.0 u51\"
    strDest = "C:\WINDOWS\Sun\Java\Deployment\"
    For Each strFileName In Array("Deployment.config","Deployment.properties")
    objFSO.CopyFile strSource & strFileName, strDest,True
    Next
    You can find more stuff like this on LukeTaylor.org.. Memoirs of an IT Technician
    Last edited by 2097; 3rd April 2014 at 02:47 PM.

  11. #25

    Join Date
    Oct 2013
    Posts
    5
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Starting with Java Update 40, Oracle allows you to disable the pop-up box that prompts users in-browser that their Java is out of date.
    Java
    "Option to disable the "JRE out of date" warning Starting from 7u40, a new deployment property deployment.expiration.check.enabled is available. This property can be used to disable the "JRE out of date" warning. When the installed JRE (7u10 or later), falls below the security baseline or passes it's built-in expiration date, an additional warning is shown to users to update their installed JRE to the latest version. For businesses that manage the update process centrally, users attempting to update their JRE individually, may cause problems. To suppress this specific warning message, add the following entry in the deployment properties file: Code: deployment.expiration.check.enabled=false"
    I use ORCA to create a .mst file to deploy with the .MSI file via Group policy
    I change the following properties:

    • Autoupdatecheck = 0
    • IEXPLORER = 1
    • JAVAUPDATE = 0
    • JU = 0
    • MOZILLA = 1
    • WEB_JAVA_SECURITY_LEVEL = M (add a new property & Value)

    Should I add another property called "Deployment_Expiration_check_enabled" = False ? I'd rather not have to create another group policy to change the registry key of "deployment.expiration.check.enabled=false"
    What is the best practice?
    *none of our clients have SCCM


SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 19th June 2013, 05:41 AM
  2. Sun Java Runtime Environment 6 Update 21
    By Arthur in forum Downloads
    Replies: 3
    Last Post: 9th July 2010, 04:00 PM
  3. Replies: 2
    Last Post: 9th April 2010, 08:37 PM
  4. Replies: 0
    Last Post: 16th June 2006, 09:00 PM
  5. Updating Java Runtime
    By ITWombat in forum Windows
    Replies: 3
    Last Post: 18th May 2006, 12:44 PM

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 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
  •