PDA

View Full Version : Detecting Flash Player



Ron
08-15-2001, 02:47 AM
I need help please. I see how easy it is to detect if the end user has Quick Time installed, and if not, you can install the player off of the CD. But, I need to have AutoPlay detect if the end user has a Flash player installed, and if not, have the player install off of the CD. I have a license agreement with Macromedia to re-distribute the player. Any help will be honestly, and greatly appriciated.

Mark
08-15-2001, 02:52 PM
Hi,

You might try a Search For File action that looks like the following in order to get the version of Flash that the user has on their system:

SEARCH FOR FILE
Name: %FlashVer%
Default: 0.0
File Name: swflash.ocx
Priority Paths: %SysDir%\Macromed\Flash
Look in: Priority search paths only
Store this: Product Version String

This will store the version of flash that the user has installed on their system in the variable: %FlashVer%.

Test this on a variety of computers and Operation Systems, but I am pretty sure that it will work properly.

mark.