How would I create a script to install Java updates
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
Answers (2)
Please log in to answer
Posted by:
rockhead44
8 years ago
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
=================================
Posted by:
anonymous_9363
8 years ago