Check registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework] as sadly
there
is no function built into any version the the framework or the OS that
will
give you this information.
You will have a DWORD for each version of the CF installed (if any).
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
:
Thanks Simon for your reply.... how can i detect which version o CF has
the
device in my Setup project (VS 2005 ) because, i´d ike to ommit the
installation of the CF if the device had it. (detect on installation
process )
Thanks for your help.
"Simon Hart [MVP]" <
[email protected]> escribió en el mensaje
See if this helps:
http://blog.opennetcf.com/ncowburn/2007/08/22/HOWTODeterminingTheNETCompactFrameworkVersion.aspx
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
:
One question, how can i detect in my setup wich version of compact
framework
has the device, and if not, to deploy the .cab of the CF 2.0 ?
Thank a lot in advance