![script to update adobe flash reader and java script to update adobe flash reader and java](https://i.stack.imgur.com/noAkh.jpg)
#Script to update adobe flash reader and java install#
‘Silent Install Switch “AdbeRdr1012_en_US.exe /msi EULA_ACCEPT=YES /qn” WshShell.CurrentDirectory = strAdobeInstallDir Set WshShell = WScript.CreateObject(“WScript.Shell”) ObjEnviroment (“SEE_MASK_NOZONECHECKS”) = 1 Set objEnviroment = objWshShell.Environment(“PROCESS”) Set objWshShell= CreateObject(“Wscript.Shell”) Set objWMI = GetObject(“winmgmts:!\\.\root\cimv2”)įor Each objSoftware in objWMI.ExecQuery(“SELECT * FROM Win32_Product Where Caption Like ‘%” & strCaption & “%'”) Set objNet = WScript.CreateObject(“WScript.Network”) If objFSO.FileExists(“c:\program files\adobe\reader 8.0\reader\acrord32.exe”) Then
![script to update adobe flash reader and java script to update adobe flash reader and java](https://i.stack.imgur.com/1ZrwL.png)
Set objFSO = CreateObject(“Scripting.FileSystemObject”) Now the VBscript (script in blue, my comments for this post in normal): This calls the script silently and does not ask the user if they want to run or whatever other BS safety messages Windows XP vomits at you normally when you run a file off the network. I then added this line to the users login scripts (batch files) to call the script:Ĭscript “\\LocalServer\share\folder\adberdr81Silent\setup files\adobe814.vbs” /quiet /passive This all gets dumped into a directory on a network share that all users have access to. I used resources that adobe themselves provide to make a custom msi package and also set it to include the separate 8.1.4 patch.
![script to update adobe flash reader and java script to update adobe flash reader and java](https://www.wired.com/images_blogs/photos/uncategorized/2008/11/17/hulu_2.jpg)
I wanted a script that got called in a login script and checked what version they had and ran a silent install of adobe 8.1.4 if needed.įirst, I got myself a full exe of Adobe 8.1.3 (for some annoying reason you can only patch to 8.1.4 from 8.1.3, and there is no full install of 8.1.4). Some of the PCs still had adobe reader 7.0, most had 8.0 or 8.1. We have automatic updates for adobe blocked on the firewall, and we also couldn’t install 9.0 because it would not be supported by another piece of software. Some background info first: We needed most of our PCs to have Adobe Reader version 8.1.4 installed. Here you are Mike, I’ve played with a few scripts and had great results… but this one has to be my crowning achievement at this point.