I am trying to create a managed install through Kace 1000 of Java 8 update 66 to 700+ windows 7 PCs and I haven't had any luck so far. I have it set to display a message before the MI runs when it begins and on completion and I get all 3 messages but that is about all that happens. I once got a dialog box saying the program was downloading and installing for a few seconds then it disappeared Kace said java was installed but it was not and as soon as the machine inventoried again java was not there and the MI said it was not installed. Here are some of the things I have tried.

zipped up the msi and a batch file that had the following in it.

wmic product where "name like 'Java 7%%' or name like 'Java 8%%'" call uninstall
start /wait msiexec /i "%~ jre1.8.0_66full.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q


Tried just uploading the msi and putting this in parms

msiexec /i "%~ jre1.8.0_66full.msi " JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q


On both tried it with and without Don't Prepend msiexec.exe checked


Uploaded the offline exe and a bat with this

wmic product where "name like 'Java 7%%' or name like 'Java 8%%'" call uninstall
start /wait jre-8u66-windows-x64.exe INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0 NOSTARTMENU=0 SPONSORS=0WEB_JAVA=1

Tried it with just the EXE with these parms

INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0 NOSTARTMENU=0 SPONSORS=0WEB_JAVA=1


Again with and without don't prepend  msiexec.exe checked

I have tried /s no parms every combination of every suggestion I could find and nothing has worked.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

3
This following MSI installation is what I used:

:Install Java 8 Update 66 
msiexec /i "\\Server\Share\Java\jre1.8.0_66_x32.msi" AUTO_UPDATE=0 EULA=0 NOSTARTMENU=1 SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H /qr
:Install Java 8 Update 66 (64-bit) 
msiexec /i "\\Server\Share\Java\jre1.8.0_66_x64.msi" AUTO_UPDATE=0 EULA=0 NOSTARTMENU=1 SPONSORS=0 WEB_ANALYTICS=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H /qr
These installation switches are found in the Java 8 installation guide.

Enable=1, Disable=0
AUTO_UPDATE=
Enable the auto update feature
WEB_JAVA=
Configure the installation so downloaded Java applications are, or are not, allowed to run in a web browser or by Java Web Start.
WEB_JAVA_SECURITY_LEVEL=
Configure the installation's security level for Java applications running in a browser or run with Java Web Start.
H (high), VH (very high)
WEB_ANALYTICS=
Allow or disallow the installer to send installation-related statistics to an Oracle server.
EULA=
If a Java applet or Java Web Start application is launched, then prompt the user to accept the end-user license agreement (EULA).
NOSTARTMENU=
Specify that the installer installs the JRE without setting up Java start-up items.
SPONSORS=
Install Java without being presented with any third party sponsor offers.

Answered 12/18/2015 by: waynejessee
White Belt

Please log in to comment

Answers

1
Can someone shed some light on this one?

There is no /qr switch in version 8 of Java.  I've been battling this since v8 came out.  thanks.
Answered 01/18/2016 by: ronnie@kkworx.com
White Belt

  • You have to first extract the MSI from the offline installer. http://www.klaus-hartnegg.de/gpo/msi_java8.html
Please log in to comment
Answer this question or Comment on this question for clarity