All Forums >> [Scripting] >> WSH & Client Side VBScript >> detection of plugins (flash,shockwave,quicktime,java) Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hi i tried searching for this but dont think anyone has a solution on here yet?
I have managed to get a vbs script working to detect if the installed version matches the current (hard coded) version but the way it does it im sure isnt the best. At present it tries to create an object if it succeed's then its installed otherwise it calls the .exe to install it.
Is there an easier way to check if Flash 9 for example is installed? in VBS WSH or ebven flash - i know the basics of all the scripting but cant seem to find and alternatives
You could enumerate the keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and check the DisplayName of each one for the individual plugins
Posts: 1924
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
Here is my script that we use to install the latest version of Flash and Shockwave. You could probably do something similar with Quicktime but would probably have to go the reg route for Java as there can be multiple copies installed on the PC.
_____________________________
Mike
For useful Scripting links see the Read Me First stickey!