Detect version of CF

C

Chris

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
 
C

Chris

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.
 
S

Simon Hart [MVP]

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
 
C

Chris

Great Simon!.....one question more.... i was searching and i cpouldn´t find
a way to search from the desktop a registry value... how can i do it ? i was
reading about RAPI, but i don´t know if i´m in the correct way....


Simon Hart said:
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


Chris said:
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.
 
C

Chris Tacke, eMVP

RAPI is definitely the way to go.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

Chris said:
Great Simon!.....one question more.... i was searching and i cpouldn´t
find a way to search from the desktop a registry value... how can i do it
? i was reading about RAPI, but i don´t know if i´m in the correct way....


Simon Hart said:
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


Chris said:
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
 
C

Chris

Thanks to Chris and Simon!


Chris Tacke said:
RAPI is definitely the way to go.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

Chris said:
Great Simon!.....one question more.... i was searching and i cpouldn´t
find a way to search from the desktop a registry value... how can i do it
? i was reading about RAPI, but i don´t know if i´m in the correct
way....


Simon Hart said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top