If you are using RAPI, then you can call CeGetVersionEx to determine the
device OS version. If you are using CeAppMgr.exe, then you would need to
restrict your .cab from installing by OS version in the .inf:
[CEDevice]
VersionMin = 3.000
VersionMax = 3.999
Stan Adermann
Microsoft
NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Alok Sancheti" <
[email protected]>
| Subject: Detect Pocket PC version in setup
| Date: Wed, 15 Oct 2003 11:08:35 -0700
| Lines: 10
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 64-52-19-24.client.cypresscom.net 64.52.19.24
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:36086
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| How can you detect the Pocket PC version in the installation program.
| Basically I have on setup program which installs .NET, SQL CE and our
| application.
|
| But if the version is PPC 2003, I do not want to call the routine to
install
| .NET CF, but if it is PPC 2002, I do want to install .NET CF.
|
| Thanks
|
|
|