Using Command-Line Option and/or Configuration File for JAVA

Topics: Configuration Issue
Aug 15, 2016 at 2:34 PM
Edited Aug 16, 2016 at 6:21 AM
Im looking for alternative Installation methodes for JAVA, because the traditional method with .exe extracted and transformed .msi / mst file produced static installations and does not support deinstallation of older JAVA products. You need the Enterprise - .MSI from Oracle to do this.

Does anyone use JAVAs .exe Installer with Comand-Line Option?

Updates failed if I use different options fom Oracles Command Line Table:
The only working, error-free Update was .exe + CommandLine: /s REMOVEOUTDATEJRES=1
Nice, but incompleted configuration.
If I add: /s REMOVEOUTDATEJRES=1 AUTO_UPDATE=Disable , update process does finish "correctly", but Update isnt installed and start to install again.

Or does anyone use the Installer Config File?
Im setting in WPP Command-Line: INSTALLCFG=\serverpath to software deployment\JRE8.cfg , file filled with different options, but the update failed ( 0x080070643 ).
Oct 9, 2016 at 4:18 PM
Any update on this?
I'm going to try this this week.
Oct 10, 2016 at 1:38 PM
Same problem for me. Runs just fine using PDQ deploy with a bunch of commands... but not WPP.
Interesting to say the least. Maybe a custom update may fix it, I got further doing that than a normal update.
Oct 20, 2016 at 8:30 PM
I have Java installing with no problems and no custom update. It also uninstalls all old versions with the following configurations.

This is from my JAVA 8.0.111 x64 update package
  • Download the EXE files (NOT MSI) from
  • create an update, select the exe file
determine if the update is already installed.
  • MsiProductInstalled ProductCode = {26a24ae4-039d-4ca4-87b4-2f64180111f0} (you can get the code from the registry after manually installing it)
determine if the update is installable.
  • WmiQuery
    • Namespace=root\CIMV2
    • WqlQuery=select * from Win32_Product where IdentifyingNumber like "{26A24AE4-039D-4CA4-87B4-2F64180___F0}" and IdentifyingNumber > "{26A24AE4-039D-4CA4-87B4-2F64180111F0}"
    • Select Reverse rule
  • Processor Architecture=x64
In the first UUID {26A24AE4-039D-4CA4-87B4-2F64180___F0} it is 2 F 6 4 1 8 0 <underscore> <underscore> <underscore> F 0
this will select only java 8 Update xxx x64 programs that are installed that are higher than update 111. (in case someone update Java before I get the next update package done) The net result is that it will install if it CAN'T find a higher version already installed.
Oct 24, 2016 at 7:59 AM
Edited Oct 27, 2016 at 8:31 AM
Thank you for your information, I will check this with Version 111 again.

You use CommandLineOption "Sponsor". This is not supported for JRE Offline Installer.

For 32bit Version use 26A24AE4-039D-4CA4-87B4-2F32180111F0