Script to testing the relevance of the installed versions of Java & Flash with Sun&Adobe web-sites or local source, and automatic updates (via the Internet (HTTP) or local area network (SMB), respectively) if necessary. The script can save installer of current version Java & Flash in the specified folder (+ file with the version number) which makes it possible to build a mechanism to automatically deploy updates Java & Flash.
-
Download files and place it on server ("\\SERVER\INSTALL\" for example)
-
Create share for installation files ("\\SERVER\INSTALL_CLIENT$\FJUpdater\" by default) and allow it for reading to all and for write to "reference computer" (see step 5)
-
Edit "FJUpdater_config.vbs" file, tune mail settings and csInstallerPath (from step 2)
-
Start downloading the installation files:
cscript \\SERVER\INSTALL\FJUpdater.wsf /WEBModeSaveInstallForce /mail:1 /debug:3
- Configure a regular check for updates via "Task Scheduler"
cscript \\SERVER\INSTALL\FJUpdater.wsf /WEBModeSaveInstallForce /mail:1 /debug:3
- Adjust the installation of updates for other computers (at startup, using GPO)
cscript \\SERVER\INSTALL\FJUpdater.wsf /webmode:0 /mail:1 /debug:2 /UninstallJavaOld
- To see current version of installed plugings use
cscript \\SERVER\INSTALL\FJUpdater.wsf /ShowVersion
for local computer or
cscript \\SERVER\INSTALL\FJUpdater.wsf /ShowVersion:Computer_Name_Or_IP
for remote computer "Computer_Name_Or_IP"
v.2.5
Single .VBS file was separated into 2 parts - source code (FJUpdater_main.vbs) and config (FJUpdater_config.vbs), which combined using .WSF file.
v.2.6
added Java 64-bit support
v.2.7
modified WEBModeSaveInstallForce key. A "reference computer (virtual machine)" is no needed anymore, regular checks can be configured on any computer.
v.2.8
Flash : since v. 17.0.0.188 changed creating Flash WEB link from
"http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_ax.exe"
to
"http://fpdownload.macromedia.com/pub/flashplayer/pdc/17.0.0.188/install_flash_player_ax.exe"
v.2.9
added feature for uninstall old Java releases, key /UninstallJavaOld
GPL