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
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.
This is from my JAVA 8.0.111 x64 update package
- Download the EXE files (NOT MSI) from java.com
- create an update, select the exe file
-
CommandLine: STATIC=0 AUTO_UPDATE=0 EULA=0 REBOOT=0 SPONSORS=0 REMOVEOUTOFDATEJRES=1 INSTALL_SILENT=1
-
MsiProductInstalled ProductCode = {26a24ae4-039d-4ca4-87b4-2f64180111f0} (you can get the code from the registry after manually installing it)
-
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
AND
-
Processor Architecture=x64
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.