Version of Flash Player

(imported topic written by jr6591)

I am trying to determine what version of flash player is installed. I have some relevance working but not fully. The bottom 2 don’t work properly so i must have my sysntax incorrect.

Q: version of file “flash9d.ocx” of folder “macromed\flash” of system folder

A: 9.0.47.0

Q: if exists file “C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx” then version of file “C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx” as string else “Not Installed”

A: 9.0.47.0

Q: if exists file (“Flash9d.ocx” of system folder) then version of file (“Flash9d.ocx” of system folder) as string else “Not Installed”

A: Not Installed

Q: if exists file “Flash9d.ocx” of system folder then version of file “Flash9d.ocx” of system folder as string else “n/A”

A: n/A

(imported comment written by LeoH91)

Here’s what we did to identify our Flash versions.

versions of files whose (((it starts with “flash” and it ends with “.ocx” ) OR (it = “swflash.ocx” )) of (name of it as lowercase)) of it of folder “macromed\flash” of system folder

Hope that helps.

(imported comment written by lmpymilk91)

Well I don’t think either will give you the version you’re looking for. You could have more than one flash*.ocx in this folder.

I just started working with BF a few days ago so please forgive newb question.

What I would like to do if possible is something like this…

; Is flash player installed?

color=blue

q: exists (key “HKEY_CLASSES_ROOT\CLSID{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32” of registry)

A: True[/color]

; What is the location of the active flash ocx?

color=blue

q: (value “” of key “HKEY_CLASSES_ROOT\CLSID{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32” of registry as string as lowercase)

A: c:\winnt\system32\macromed\flash\flash9b.ocx[/color]

Now this is what I’m not sure of. Can the last A: be used as a variable or passed on? So we can do something like this?

;What is the version of active ocx?

color=red

q: exist (value “” of key “HKEY_CLASSES_ROOT\CLSID{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32” of registry as string as lowercase)

E: This expression could not be parsed.[/color]

chris

(imported comment written by BenKus)

Is this what you are looking for:

q: version of file (value “” of key “HKEY_CLASSES_ROOT\CLSID{D27CDB6E-AE6D-11cf-96B8-444553540000}\InprocServer32” of registry as string as lowercase)

A: 9.0.115.0

Ben

(imported comment written by akies91)

Hi There,

Why i get this error using Fixlet debugger. Somebody would help me on this?

q:(exists folder “Macromed\Flash” whose (exists file “NPSWF32.dll” whose (version of it < ") of it) of system folder) OR (exists key “HKLM\Software\Mozilla” whose (exists key whose (name of it does not contain “Netscape” AND exists key “Extensions” whose (exists file “NPSWF32.dll” whose (version of it < “10.1.102.64”) of folder (value “Plugins” of it as string)) of it) of it) of registry)

E: The expression could not be evaluated: class IllegalFileName

Thank you.

(imported comment written by NoahSalzman)

I’m not seeing an error in version 3.0.4 of the Fixlet Debugger (ships with 8.0.627).

q: (exists folder “Macromed\Flash” whose (exists file “NPSWF32.dll” whose (version of it < ") of it) of system folder) OR (exists key “HKLM\Software\Mozilla” whose (exists key whose (name of it does not contain “Netscape” AND exists key “Extensions” whose (exists file “NPSWF32.dll” whose (version of it < “10.1.102.64”) of folder (value “Plugins” of it as string)) of it) of it) of registry)

A: False

T: 10.859 ms

(imported comment written by akies91)

Hi Noah,

Thanks for the reply… currently I am using the alpha version to run this relevance.

Will get the new version for Fixlet debugger.

Thank again.