Anyone know how to automate the Adobe_Updater.exe process? I've been googling things and all I can come up with are results about how to disable the thing. I need to know if there's a switch command or something I can use in a VBS to automate the update process. When the updater runs, it checks for downloads then requires user interaction to proceed with the download and install, then again to reboot. How can I insert this into my script to automate these selections?
Script currently is as follows:
Script currently is as follows:
Code:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(".\text.txt", ForReading)
Set WriteStuff = objFSO.OpenTextFile("log.txt", 8, True)
Const ForReading = 1
dim computer
dim runme
dim errReturn
runme = "C:\Program Files\Common Files\Adobe\Updater6\Adobe_Updater.exe"
i = 0
Do Until objFile.AtEndOfStream
computer = trim(objfile.readline)
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & computer & "\root\cimv2")
Set objProcess = objWMIService.Get("Win32_Process")
errReturn = objProcess.Create(runme, null, null, intProcessID)
i = i + 1
if not errReturn = 0 then
WriteStuff.WriteLine("Failure to launch on " & computer & vbCrLf)
err.clear
end if
Loop
objFile.Close
WriteStuff.Close