How can I know if the Microsoft Media Player 10 has been installed in user's PC? thanks!

How can I know if the Microsoft Media Player 10 has been installed in user's PC? thanks!

[97 byte] By [CUIWEI] at [2007-12-16]
# 1
One way is that you can look into the registry and search under local machine.

Under Software -> Microsoft -> Media Player, make sure the 10.0 node is in there.

I am not too sure about other ways. :)

ChuaWenChing at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 2
Hi,

You can check in the Registry programmatically using Microsoft.Win32 namespace.
The entry will be in the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Software\Microsoft\WindowsMedia\Setup\BlockingRefCounts\App\WindowsMediaPlayer

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 3
Is there a better way? you know that someome have not permission to access the key HKEY_LOCAL_MACHINE. I hope the way to fit all Windows version such as Windows XP Pro & Home, Windows 2003...
CUIWEI at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 4
Hi,

Are you using the Media Player ActiveX control? If you are then you can probably see if there is anything in the Object Model.

Regards,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 5
I think it should check the entry HKEY_LOCAL_MACHINESOFTWARE\Microsoft\MediaPlayer\10.0

Which correct?

CUIWEI at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 6
Yes. that registry key looks to be correct.

Regard,
Vikram

Vikram at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 7
Player.versionInfo <CLICK THERE
BlairStark at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...