• Connector.

    Oracle Corporation

    Vendor

  • Connector.

    Java

    Title

  • Connector.

    Version

Post Date: 2017-02-12 20:35:47

Author : Riley Lim, Submitted : 02/14/17, Version : 8 , Category: Middleware , Installer Type: Windows Installer

Note: This is a very high level tip to cover customisations for Java, this is aimed at application packagers that have a good handle on Windows Installer technology.

  1. Download and extract the msi from your desired version of Java.
  2. In your toolset via a Transform, create the following files in the respective locations. Ensure you have a carriage return at the end of the last line.

    Path: [ProgramData]\Oracle\Java
    File: java.settings.cfg
    Contents:
    AUTO_UPDATE=0
    EULA=0
    INSTALL_SILENT=1
    NOSTARTMENU=1
    SPONSORS=0
    WEB_ANALYTICS=0

    Path: [WindowsFolder]\Sun\Java\Deployment
    File: deployment.config
    Contents:
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    deployment.system.config.mandatory=true

    Path: [WindowsFolder]\Sun\Java\Deployment
    File: deployment.properties
    Contents:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked
    deployment.expiration.check.enabled=false
    deployment.expiration.decision.suppression=true
    deployment.expiration.check.enabled.locked
    deployment.expiration.decision=NEVER
    install.disable.sponsor.offers.locked
    install.disable.sponsor.offers=true

    Refer this this link for more information on the Java properties.
    http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/properties.html

  3. In the registry, create the following registry keys.

    HKLM:\SOFTWARE\JavaSoft\Java Update\Policy
    “EnableJavaUpdate”=dword:00000000
    “UpdateSchedule”=dword:000f423f
    “NotifyDownload”=dword:00000000

    HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    “deployment.expiration.check.enabled”=”false”

  4. Add/modify the following Properties.
    Please note REMOVEOUTOFDATEJRES and MODIFYREMOVE (deprecated apparently) only removes versions of Java which is below the security baseline.

    AUTO_UPDATE=0
    AUTOUPDATECHECK=0
    EULA=0
    JAVAUPDATE=0
    MODIFYREMOVE=remove
    REBOOT=REALLYSUPPRESS
    RebootYesNo=No
    REMOVEOUTOFDATEJRES=1
    SPONSORS=0
    WEB_ANALYTICS=0
    WEB_JAVA=1

  5. Save your Transform and test your package.

Author : Bob Kelly, Submitted : 05/19/17, Version : 8 , Category: Middleware , Installer Type: Windows Installer

There is an article here on AppDetails about installing Java Runtime Environment Version 8.0 Update 131

Author : Riley Lim, Submitted : 02/13/17, Version : 8 , Category: Middleware , Installer Type: Windows Installer

Note: please beware this is a basic guide to install Java silently and there is definitely more than one method. You will need to do more research if you need a customised package, ie remove start menu shortcuts and adjust Java registry settings in regards to updates.

Install Command via executable:
jre-8uXXX-windows-i586.exe AUTO_UPDATE=Disable WEB_ANALYTICS=Disable REBOOT=Disable /s

Where XXX is the update version.

Refer to this URL for more configuration options.
http://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html#installing_with_config_file

 

Author : Bob Kelly, Submitted : 05/04/17, Version : 7 , Category: Middleware

http://www.itninja.com/blog/view/deploying-java-7-through-gpo