|
1 |
| -labtech_script-java_7_update_13_update |
2 |
| -====================================== |
3 |
| - |
4 |
| -Labtech script to update previously installed java to java 7 update 13 |
| 1 | +# Labtech Script - Java 7 Update 13 Update |
| 2 | + |
| 3 | + |
| 4 | +Script and files to install Java 7 Update 13 if Java is previously installed |
| 5 | + |
| 6 | + |
| 7 | +## REQUIREMENT: Caching must be setup |
| 8 | + |
| 9 | + |
| 10 | +Will update 32 and 64 bit if Java is already installed |
| 11 | + |
| 12 | +Script does the following: |
| 13 | +* Exits script if Windows Server |
| 14 | +* Verifies that Java 7 Update 13 is not already installed |
| 15 | +* Checks EDF [Disable Java Updates - Computers>Exclusions tab] |
| 16 | + If box is checked a ticket is created and script is exited |
| 17 | +* Creates Java folder in cache directory |
| 18 | +* Downloads Java Uninstall batch file from LTShare to cache directory |
| 19 | +* Downloads Java Install files from LTShare to cache directory |
| 20 | +* If files cant be downloaded a ticket is opened and the script is exited |
| 21 | +* Any open browsers are killed (Internet Explore, Firefox, Chrome, Opera) |
| 22 | +* Any old version of Java is uninstalled (javaremove.bat) |
| 23 | +* Java 7 Update 13 is installed |
| 24 | +* Java Update scheduler is killed |
| 25 | +* Java Update Scheduler and AutoUpdate are removed from registry |
| 26 | +* Software list is resent to verify install |
| 27 | + If install is not successful then a ticket is opened and script is exited |
| 28 | + If install is successful then a ticket is opened and script is exited |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +## NOTES: |
| 33 | + |
| 34 | +##### Script can be modified to install Java no matter if a previous version is installed. |
| 35 | +##### Change overall IF statement to **_IF TRUE_** |
| 36 | +##### Ticketing verbage may need to be changed as needed |
| 37 | + |
| 38 | +I am not affiliated with Labtech Software. Please use these at your own risk. |
| 39 | + |
| 40 | +If you have any additions or better ways to do this please hit me up on [IRC](http://webchat.freenode.net/?nick=reddit_user_.&channels=%23%23labtech&uio=d4), my nick is cgauss. |
0 commit comments