VBscript update Adobe Air to 1.5.2.8870
Fill out the redistribution app for Adobe Air then download the installer files. The below will update Adobe Air to 1.5.2.8870 if it exists on the workstation.
Dim WshShell, AirVer
Set WshShell = WScript.CreateObject("WScript.Shell")
AirVer = WshShell.RegRead ("HKLM\SOFTWARE\Classes\Installer\Products\1F9ACB2AC6655084791DF7CD39837632\Version")
If AirVer = 17104898 then
Else
WshShell.Run "C:\Pathtoinstaller\Installer.exe -silent"
End If
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Other than those problems, great script... :)
<ALWAYS use 'Option Explicit'!>
Dim WshShell, AirVer
Set WshShell = WScript.CreateObject("WScript.Shell")
<Error, if unable to create object>
AirVer = WshShell.RegRead ("HKLM\SOFTWARE\Classes\Installer\Products\1F9ACB2AC6655084791DF7CD39837632\Version")
<Error, if key doesn't exist>
If AirVer = 17104898 then
Else
WshShell.Run "C:\Pathtoinstaller\Installer.exe -silent"
<Error, if execution failed>
<No check for installation success>
End If
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.