Re: Detecting the Microsoft .NET CF
- From: "Peter Foot [MVP]" <feedback@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Aug 2005 16:23:03 +0100
v1 and v2 can run side-by-side as you can see with the VS2005 tools. No
devices have v2 built in, but all Pocket PC 2003 and later will have a
version of v1, either the original RTM release (1.0.2268.0) or a more recent
service pack. Note that if you are redistributing the .NETCF runtimes, you
should use the latest available version (SP3) as the RTM release is now
rather dated and there have been numerous bug fixes and performance tweaks
since.
Peter
--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net
"hima" <hima@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BFCCB5D7-5419-4B86-9EE9-2474E639F1F5@xxxxxxxxxxxxxxxx
> 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: hima
- Re: Detecting the Microsoft .NET CF
- References:
- Detecting the Microsoft .NET CF
- From: hima
- Re: Detecting the Microsoft .NET CF
- From: Peter Foot [MVP]
- Re: Detecting the Microsoft .NET CF
- From: hima
- Detecting the Microsoft .NET CF
- Prev by Date: Closing Forms
- Next by Date: Proxy Authentication Required
- Previous by thread: Re: Detecting the Microsoft .NET CF
- Next by thread: Re: Detecting the Microsoft .NET CF
- Index(es):
Relevant Pages
|