Hi.

I am looking at writing a script to get kace to push out Java updates. I know that it most likely won't do it every time there is an update to Java, I just need to get all of my users on the same version of Java.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
tons of good info on this site. 2 Links to start with

http://www.itninja.com/question/managed-install-java-8-update-40

http://www.itninja.com/question/silent-uninstall-java-all-versions

Here's a quick acript to start with once you extract the .msi

================================================

@echo off

taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe

WMIC product where "Name LIKE '%%java%%'" call uninstall /nointeractive

taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe

msiexec /i jre1.8.0_92.msi INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_ANALYTICS=0 EULA=0 REBOOT=0 NOSTARTMENU=1 SPONSORS=0 /qn


exit

=================================


Answered 05/17/2016 by: rockhead44
Tenth Degree Black Belt

Please log in to comment

Answers

0
Remember that you should also take care of the brain-dead "out-of-date" warning that JREs now display. The procedure for doing that is also documented here at ITN. Search for 'deployment.properties'.
Answered 05/18/2016 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity