/build/static/layout/Breadcrumb_cap_w.png

Java 8 update 60 SCCM deployment fails from SCCM but works fine with manual installation with same level access. Any fixes ?

Hi All, 

I have been facing this issue for a while now, Whenever I try deploying Java 8 u 60 package from SCCM it fails to install. But if I try with exactly same command manually it works (with same level access as in SCCM). It gives the below Error:

There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: installexe, location: C:\Program Files\Java\jre1.8.0_60\installer.exe, command: /s INSTALLDIR="C:\Program Files\Java\jre1.8.0_60\\" WEB_JAVA=1 WEB_ANALYTICS=0 EULA=0 NOSTARTMENU=1 INSTALL_SILENT=1 AUTO_UPDATE=0 SPONSORS=0 REPAIRMODE=1 ProductCode={26A24AE4-039D-4CA4-87B4-2F83218060F0}

Please help if any one has a fix. :-(

Thanks in Advance. 

0 Comments   [ + ] Show comments

Answers (3)

Posted by: anonymous_9363 5 years ago
Red Belt
1
Extract and use the MSI. That way, you can add logging to the process. You can also use a transform to add the deployment files. Without those in place - and I strongly advise you to use the systemwide scenario - your users will be badgered with the 'out of date' message when Oracle decides to update JRE.

The details are all over IT Ninja.
Posted by: Tracy39 5 years ago
White Belt
1
Here is the way I managed to get 8u60 deployed using SCCM

I created a powershell shell script that would create the c:\ProgramData\Oracle\Java folder if it didnt exist, and then copy a java.settings.cfg file into it.

Java.setting.cfg contents
INSTALL_SILENT=Enable
STATIC=Disable
AUTO_UPDATE=Disable
WEB_JAVA=Enable
WEB_JAVA_SECURITY_LEVEL=H
WEB_ANALYTICS=Disable
EULA=Disable
REBOOT=Disable
NOSTARTMENU=Enable
SPONSORS=Disable

I then extracted the MSI form the JRE exe, and set up an application using the following commands:
msiexec /i "jre1.8.0_60.msi" /q NOSTARTMENU=Enable
and made the folder copy a dependency. All seems to work.

Comments:
  • Sorry for the very late reply but the solution works perfectly for me and also for new version 8u66. Kudos !! - The_D 5 years ago
Posted by: steve.durfee 5 years ago
Senior White Belt
0
The best way I have found is to install Java on a pc and then go to the appdata folder located here: C:\Users\username\AppData\LocalLow\Oracle\Java\jre1.8.0_60 and copy the jre1.8.0_60.msi file to your software folder used for SCCM deployment. Then set up your java Application for deployment using this msi file. Add your switches or whatever you need. I have been doing this for many years and have never had an issue deploying Java to the thousands of computers I manage.  
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ