I'm trying to get update for all the java version in my college, but the thing is it has so many versions. How do I update to the newest version and delete all the older version using K1000 without disrupting their flow of work during the day. 

Any suggestion/help would be appreaciated

 

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Answered 03/13/2013 by: jagadeish
Red Belt

  • Probably looking for this one: http://www.itninja.com/question/ultimate-java-uninstaller
Please log in to comment

Answers

0

thank you so much for y'all's help! greatly appreciated! Will Definitely try it and modify it if necessary! Thanks Again!! 

Answered 03/13/2013 by: fjuwana
Senior White Belt

Please log in to comment
0

You can't update java without disrupting users unfortunately.  I'm using a modified script from John Verbosk that will uninstall all v7 Java versions and install the newest 7u15.

taskkill /F /IM iexplorer.exe
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.exe /X{26A24AE4-039D-4CA4-87B4-2F86417002FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217007FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217010FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217005FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217004FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217003FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217001FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217006FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217000FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217011FF} /qn
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83217013FF} /qn
taskkill /F /IM iexplorer.exe
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.exe /i jre1.7.0_15.msi /qn

I set this up to run when the user is logged off only at any time.  It will kill all programs remove any version of 7 and then install 7u15 quietly with no gui.

 

You just need to create a batch file and zip it up with the msi and cab file and create the managed install to run the batch file from within the zip.

 

Answered 03/11/2013 by: petelanglois
Fourth Degree Black Belt

  • thank you brother! this is awesome!
Please log in to comment
Answer this question or Comment on this question for clarity