Autor Beitrag
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 26.07.09 10:54 
Hallo,

Für ein Programm muss ich wissen, welche Version des Flash Players und des Windows Media Players auf dem Rechner installiert sind.
Weiß jemand, wie ich an diese Informationen rankomme?

Danke,
Matze

_________________
In the beginning was the word.
And the word was content-type: text/plain.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 26.07.09 11:26 
Was den WMP angeht, so führte mich eine schnelle Suche in der Registry zu diesem Zweig:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade (PlayerVersion)
Sowie:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup\Installed Versions (das dritte Byte ist die Hauptversion)
Das sollte ab WMP 8 oder so klappen, ab 9 tut es das sicher.

// EDIT:
Und beim WMP 7, also der ersten "echten" WMP-Version, gibt es zusätzlich zum Classic Player, dessen Version in den obigen Zweigen zu finden ist, diesen Zweig:
ausblenden Quelltext
1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\7.0\Registration					

Dort steht die Version in UDBVersion.
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 27.07.09 16:36 
Danke, das werde ich mir mal anschauen.

Noch ne Idee zwecks dem Flash Plugin?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: Mo 27.07.09 18:32 
Also die Version des Flash-Players bekomme ich hier unter C:\WINDOWS\inf\flash.inf heraus.
(Bei mir ist das hier z.B.: DriverVer=07/01/2001,5.1.2600.0)

Oder? Möchtest Du dort auch lieber einen Reg-Key haben?
Den wüsste ich jetzt nicht so auf die schnelle...
- also ob es dort überhaupt einen für gibt.
matze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 27.07.09 18:43 
Die Datei gibts bei mir schon mal gar nicht :(

_________________
In the beginning was the word.
And the word was content-type: text/plain.
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: Mo 27.07.09 19:29 
Dann weiß ich jetzt leider nicht, ob Du denn den Registry-Eintrag
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MIME\Database\Content Type\application/x-shockwave-flash\CLSID
hast.

Oder hilft es Dir weiter, nach einem (Ordner-)Eintag unter
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components
zu suchen, in dem der "Standart"-Wert "Macromedia Shockwave Flash" heißt und der Wert "Version" bei mir zum Beispiel "6,0,79,0" ist?
Ich hoffe mal, dass Dich das weiterbringt!...

...Oder möchtest Du die Version des Flash-Player-Plugins haben?
Die wäre dann doch unter
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin\DisplayVersion
zu finden.

Edit: Wobei ich das jetzt gerade irgendwie komisch finde, dass hier der Versions-Wert in der Driver.inf anders ist, als der in der Registry...