MST

Java Silent Update Part 2 – The Preparation

Previously, I described how to uninstall Java. Now that you have uninstalled Java, you need to install the most recent release. While the uninstall was discovered largely in house, we had to search Google to complete the task properly.

Firstly, we were able to run the following

jre-8u65-windows-i586.exe /s

which was silent. This may suit your needs but we found that this did not meet the needs of the organization. The install is silent, it did not prevent auto updating and all of the other pesky pieces of Java. Because of this, we decided to prepare a proper solution and at this point seek further assistance.

Java’s site isn’t freely available for information on what route we needed to go but there were plenty of other sites that were more than helpful. Two of the most helpful sites are the following

http://www.klaus-hartnegg.de/gpo/msi_java8.html

https://maddog2050.wordpress.com/2015/09/09/gpo-deploying-java-8-update-60/

The highlights as to what you need to look for and configure are:

You will need a software for MSI DB editing. We used Orca.

The change to the CustomAction – installexe – Value=3090 and I have confirmed that it does work on JRE8u65 x86 & x64.

These settings were successful within the java.settings.cfg file that you MUST create:


INSTALL_SILENT=Enable
AUTO_UPDATE=Disable
WEB_ANALYTICS=Disable
REBOOT=Disable
SPONSORS=Disable

I would also recommend generating a transform and applying it to the MSI and not just editing the MSI directly. While editing the MSI directly means you don’t have to apply a transform, it increases the risk of issues with the MSI and needing to keep or retrieve the version at a later date.

Following the guidance provided in the above sites, we were able to prepare a silent install package. We were also able to confirm that the procedures work for JRE8u65 x86 & x64.

In the next article, I will discuss deployment option to ensure success within your environment.

Tips are appreciated – BTC 19HwWXXuihiWPVCXLtimfngtJGz7ntZPke

Tagged , , , , , , , , , ,