Skip to content

Instantly share code, notes, and snippets.

@williamjacksn
Created February 3, 2014 19:06
Show Gist options
  • Save williamjacksn/8790157 to your computer and use it in GitHub Desktop.
Save williamjacksn/8790157 to your computer and use it in GitHub Desktop.
Display Flash Player Plugin version
Set wi = CreateObject("WindowsInstaller.Installer")
For Each p In wi.Products
n = wi.ProductInfo(p, "ProductName")
If InStr(n, "Adobe Flash Player") > 0 Then
If InStr(n, "Plugin") > 0 Then
WScript.Echo wi.ProductInfo(p, "VersionString")
Exit For
End If
End If
Next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment