spgsitsupport Posted September 7, 2015 Report post Posted September 7, 2015 That used to be possible: http://www.techygeekshome.co.uk/2013/04/java-client-updates-deployment-using.html Then with edited msi: http://www.klaus-hartnegg.de/gpo/msi_java8.html but now with Java 8 Upd 60 I could not get it working (edited msi give 2705 error) msi can be extracted or downloaded from http://java.techygeekshomeSPAM!/instructions What are people using for java updates? Thanks Seb Quote Share this post Link to post Share on other sites More sharing options...
Jaybone Posted September 9, 2015 Report post Posted September 9, 2015 What are people using for java updates? cmd script to install 8u60 from an unmodified msi, then look for older versions and uninstall them. It works, but... bleh. :\ Quote Share this post Link to post Share on other sites More sharing options...
spgsitsupport Posted September 10, 2015 Report post Posted September 10, 2015 That script being what? Unmodified 8u60 msi just chokes & insist on running from exe Seb Quote Share this post Link to post Share on other sites More sharing options...
Jaybone Posted September 10, 2015 Report post Posted September 10, 2015 jre1.8.0_60.msi SHA256 = 8371F27009A9286CAC0D9812E0411DDBFCB106456E46FFEC50E64054E75E4632 I think I grabbed it from %temp% while running the .exe. msiexec /i "%~dp0jre1.8.0_60.msi" JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q call "%~dp0removeOld8.cmd" and the removeOld8 script (modified July 2016 - they changed the MSI code when they rolled to update 101 and needed to accomodate for that) is: REM -------------- REM Java 8 if exist "%temp%\remove32java8.txt" del "%temp%\remove32java8.txt" if exist "%temp%\remove64java8.txt" del "%temp%\remove64java8.txt" REM Find installs of Java 8, 32-bit and dump MSI codes to file for /f "tokens=7 delims=\" %%i in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F83218"') do echo %%i >>"%temp%\remove32java8.txt" for /f "tokens=8 delims=\" %%i in ('reg query hklm\software\Wow6432Node\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F83218"') do echo %%i >>"%temp%\remove32java8.txt" for /f "tokens=7 delims=\" %%i in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F3218"') do echo %%i >>"%temp%\remove32java8.txt" for /f "tokens=8 delims=\" %%i in ('reg query hklm\software\Wow6432Node\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F3218"') do echo %%i >>"%temp%\remove32java8.txt" REM Find installs of Java 8, 64-bit and dump MSI codes to file for /f "tokens=7 delims=\" %%i in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F86418"') do echo %%i >>"%temp%\remove64java8.txt" for /f "tokens=7 delims=\" %%i in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| find /i "26A24AE4-039D-4CA4-87B4-2F6418"') do echo %%i >>"%temp%\remove64java8.txt" REM Reverse-sort those files of MSI codes, so the newest version is at the top sort /+33 /r "%temp%\remove32java8.txt" /o "%temp%\remove32java8.txt" sort /+33 /r "%temp%\remove64java8.txt" /o "%temp%\remove64java8.txt" REM Loop through those files, skipping the first line and uninstalling other versions for /f "skip=1" %%i in (%temp%\remove32java8.txt) do msiexec /x%%i /q /noreboot REBOOT=REALLYSUPPRESS for /f "skip=1" %%i in (%temp%\remove64java8.txt) do msiexec /x%%i /q /noreboot REBOOT=REALLYSUPPRESS if exist "%temp%\remove32java8.txt" del "%temp%\remove32java8.txt" if exist "%temp%\remove64java8.txt" del "%temp%\remove64java8.txt" 1 Quote Share this post Link to post Share on other sites More sharing options...