Windows Media Player 11 SDK Detecting Windows Media Player from an Application 

Windows Media Player SDK banner art
PreviousNext

Detecting Windows Media Player from an Application

You can determine what version of Windows Media Player is installed by checking the following registry key: 

HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components

For Windows Media Player 6.4, look at key {22d6f312-b0f6-11d0-94ab-0080c74c7e95}.

For Windows Media Player 7, Windows Media Player for Windows XP, Windows Media Player 9 Series, or Windows Media Player 10 or later, look at key {6BF52A52-394A-11d3-B153-00C04F79FAA6}.

Under either of these keys, if the IsInstalled DWORD value is set to 0x1, you can safely use the "Version" string value as the version of Windows Media Player that is installed.

See Also

PreviousNext
Show: