Run "msiexec /x /q",1, True ' Uninstall Java 6.0.1 Wsh Shell.
I just want to make sure to get all the old versions of Java off of everyone's computers, since I've heard of exploits that cause web pages to load using old versions of Java and I want to avoid those. Java version incompatability has caused me no end of pain (HP I'm looking at you).
If anything I'd be tempted to write a script to install multiple versions of Java Absolutely for security.
I have in the last couple hours successfully deployed the latest Java across the office, but those older versions still remain.
I've heard of exploits that were able to use an older version of Java that was installed but dormant in a machine, in order to install spyware, and I want to avoid any of that by ONLY having the latest Java on the error resume next dim Wsh Shell dim Reg Key dim Script Ver Key Set Wsh Shell = Create Object("WScript.
Shell") 'checks to see if registry key exists, if it does, the cleanup runs.
Reg Key = "HKLM\SOFTWARE\EDU\Cleanup\" Script Ver Key = Wsh Shell.I'm setting up a system to keep Java in our office up to date.Everyone has all different versions of Java, many of them old and insecure, and some dating back as far as 1.4.Keeping old and unsupported versions of Java on your system presents a serious security risk.Removing older versions of Java from your system ensures that Java applications will run with the most up-to-date security and performance improvements on your system.Run "msiexec /x /q",1, True ' Uninstall Java 1.4.2.04 Wsh Shell.