Quantcast
Channel: Wsus Package Publisher
Viewing all articles
Browse latest Browse all 3825

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

$
0
0
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 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
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
      AND
  • 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.

Viewing all articles
Browse latest Browse all 3825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>