Re: Detecting the Microsoft .NET CF
- From: "hima" <hima@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Aug 2005 06:45:01 -0700
Thanks for describing what values meen.
One more question.
Preinstalled .net on my device is 1.0.33.16.0 (SP2 as I understand). The one
that I installed is 1.0.2268.0. Now I can say that active is the first one.
Does this situation meen that device always uses the latest .net version
from given two or it is more compicated (on emutator in VS2005 there are both
..net cf v.1 and v.2, but active is still v.1)?
"Peter Foot [MVP]" wrote:
> The registry key mentioned contains a value for each version of the
> framework, with a value of 1 to indicate the currently active version. For
> example a device may ship with 1.0.3111.0 in ROM, and then be upgraded to
> SP3 (1.0.4292.0) so you'll see values:-
> 1.0.4292.0 = 1
> 1.0.3111.0 = 0
>
> Therefore you can determine the currently installed service pack version,
> and decide whether to install an update or not.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "hima" <hima@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:856D1707-3BCA-40B7-B32E-32E4059A12D3@xxxxxxxxxxxxxxxx
> > As MSDN says to detect .net cf I must enum values from
> > "HKLM\SOFTWARE\Microsoft\.NETCompactFramework"
> > (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdepl.asp).
> > What if there are more then one value? How can I detect which one will be
> > used by application.
> >
> > Specifically:
> > I have hp iPAQ with WM 2003 SE and preinstalled .nect cf on it (and seemes
> > like it cannot be removed since it is not displayed in the Remove Programs
> > applet). But I can install .NET CF to the device without any special
> > messages
> > from the .cab file and it will apear in Remove Programs applet.
> > This adds new value to the "HKLM\SOFTWARE\Microsoft\.NETCompactFramework"
> > registry key. So how can I be sure which one of this installations will be
> > used by application?
>
>
>
.
- Follow-Ups:
- Re: Detecting the Microsoft .NET CF
- From: Peter Foot [MVP]
- Re: Detecting the Microsoft .NET CF
- References:
- Detecting the Microsoft .NET CF
- From: hima
- Re: Detecting the Microsoft .NET CF
- From: Peter Foot [MVP]
- Detecting the Microsoft .NET CF
- Prev by Date: Re: VB.NET CF MVPs?
- Next by Date: MarshalAs howto workaround?
- Previous by thread: Re: Detecting the Microsoft .NET CF
- Next by thread: Re: Detecting the Microsoft .NET CF
- Index(es):
Relevant Pages
|