Skip to content

ManagedITStack/labtech_script-java_7_update_13_update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Labtech Script - Java 7 Update 13 Update

Script and files to install Java 7 Update 13 if Java is previously installed

REQUIREMENT: Caching must be setup

Will update 32 and 64 bit if Java is already installed

Script does the following:

  • Exits script if Windows Server
  • Verifies that Java 7 Update 13 is not already installed
  • Checks EDF [Disable Java Updates - Computers>Exclusions tab] If box is checked a ticket is created and script is exited
  • Creates Java folder in cache directory
  • Downloads Java Uninstall batch file from LTShare to cache directory
  • Downloads Java Install files from LTShare to cache directory
  • If files cant be downloaded a ticket is opened and the script is exited
  • Any open browsers are killed (Internet Explore, Firefox, Chrome, Opera)
  • Any old version of Java is uninstalled (javaremove.bat)
  • Java 7 Update 13 is installed
  • Java Update scheduler is killed
  • Java Update Scheduler and AutoUpdate are removed from registry
  • Software list is resent to verify install If install is not successful then a ticket is opened and script is exited If install is successful then a ticket is opened and script is exited

NOTES:

Script can be modified to install Java no matter if a previous version is installed.
  • Change overall IF statement to IF TRUE. Ticketing verbage may need to be changed as needed
networkn in IRC asked why the script exits if it is a server
  • We currently do our server updates manually, if you wish to have this script run on servers either remove steps 1 through 3 or disable the functions

I am not affiliated with Labtech Software. Please use these at your own risk.

If you have any additions or better ways to do this please hit me up on IRC, my nick is cgauss.

About

Labtech script to update previously installed java to java 7 update 13

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published