There's a list here - there isn't a media player value.
http://msdn.microsoft.com/library/en-us/msi/setup/property_reference.asp?frame=true

Signature
Phil Wilson [MVP Windows Installer]
----
Kinda of interesting/annoying
I created a Serach of the registry key:
name:Windows Media Player Version
Property: WMPVERSION
RegKey:6BF52A52-394A-11d3-B153-00C04F79FAA6
Root:vsdrrHKLM
Value: Version
Then, I created a launch condition like this:
Name: WMPLaunchCondition
Condition: {See Below}
InstallURL: /MPSetupXP.exe
Message: You Don Not Have WMP 9, Press Yes To Install
The value in the registry is: 9.0.0.2980
Here are the conditions I used and the results:
WMPVersion = 99: false
WMPVersion=9.0.0.2980:true
WMPVersion <> 9.0.0.2980: true
WMPVersion<9.0.0.2980: true
WMPVersion>9.0.0.2980: true
WMPVersion<9: false
WMPVersion>9: false
I am guessing that the Value is actually a string, so you can't do any kind
of artimatical compare (<,>,etc...)
If so, why does a condition of VersionNT<501 work?
How can I cast my Seach Value it from a string to an int/float
Why does MSDN sux for giving examples of these kind of thing?
> There's a list here - there isn't a media player value.
http://msdn.microsoft.com/library/en-us/msi/setup/property_reference.asp?frame=true
> > I figured one way to do it
> >
[quoted text clipped - 27 lines]
> > >
> > > Any suggestions?
Phil Wilson - 19 Aug 2004 03:04 GMT
Property comparisons can be interesting. It works with VersionNT because it
returns something that can be treated as a number. Versions with periods are
more difficult. A string comparison might work: WMPVERSION>"9.0.0.0"

Signature
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760
> Kinda of interesting/annoying
>
[quoted text clipped - 30 lines]
>
> > There's a list here - there isn't a media player value.
http://msdn.microsoft.com/library/en-us/msi/setup/property_reference.asp?frame=true
> > > I figured one way to do it
> > >
[quoted text clipped - 29 lines]
> > > >
> > > > Any suggestions?
James Dixon - 20 Aug 2004 02:29 GMT
Nope
WMPVersion="9.0.0.2980":false
WMPVersion<>"9.0.0.2980":false
Grrr....
I am just checking the registry number in my app now
$36 Billion in reveune and they can't have 1 person on the books who thought
of this ahead of time? Breaks the heart.
> Property comparisons can be interesting. It works with VersionNT because it
> returns something that can be treated as a number. Versions with periods are
> more difficult. A string comparison might work: WMPVERSION>"9.0.0.0"
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760
> > Kinda of interesting/annoying
> >
[quoted text clipped - 31 lines]
> >
> > > There's a list here - there isn't a media player value.
http://msdn.microsoft.com/library/en-us/msi/setup/property_reference.asp?frame=true
> > > > I figured one way to do it
> > > >
[quoted text clipped - 31 lines]
> > > > >
> > > > > Any suggestions?