Hi
I'm putting together a script to gather info on certain software packages
such as version number etc... installed on multiple desktops.
My problem is trying to extract the version information from Windows Media
Player.
I can't get any results from using the Win32_Product class or from querying
the uninstall kep HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

I could query the executable directly but would prefer not to as some of the
versions are very old so some will be Mplayer.exe, Mplayer2.exe, WMPlayer.exe
etc...

Does anyone know of a class I can use to query info about media player?

Thanks
Steve

RE: Help! WMI and Windows Media Player by ESP

ESP
Thu Dec 01 11:46:03 CST 2005

I don't have your entire answer, but here's your Object ;-)
ESP

Set objPlayer = CreateObject("WMPlayer.OCX")




"sjw2k3" wrote:

> Hi
> I'm putting together a script to gather info on certain software packages
> such as version number etc... installed on multiple desktops.
> My problem is trying to extract the version information from Windows Media
> Player.
> I can't get any results from using the Win32_Product class or from querying
> the uninstall kep HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
>
> I could query the executable directly but would prefer not to as some of the
> versions are very old so some will be Mplayer.exe, Mplayer2.exe, WMPlayer.exe
> etc...
>
> Does anyone know of a class I can use to query info about media player?
>
> Thanks
> Steve