/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: anonymous_9363 14 years ago
Red Belt
0

<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

Other than those problems, great script... :)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ