DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 14:34:02 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    David am
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com


CAB files to target different CF versions   
Since CF2 is not reliably backward-compatible with CF1, I've had to build a 
separate version of our CF1 application to target CF2.

I see that I can use CabWiz to build multiple CAB files that target 
particular CE OS versions, list them all in an ini file, then pass that ini 
file to CEAppMgr and let it select the right one.

I don't see any way to have multiple CAB files targeting different CF 
versions. Am I missing something?

How do others handle this scenario?

--
David
Date:Mon, 20 Aug 2007 14:34:02 -0700   Author:  

Re: CAB files to target different CF versions   
The CAB installer itself doesn't know, natively, anything about .NET CF, so 
you can't build a CAB that in itself knows what to do.  I can think of 
several ways to do this, but none of them are easier than having some sort 
of a program to run on the target device and tell the user which of your 
actual application CAB files to use by checking the target device for which 
..NET CF version is actually installed.  That is, you could write a small 
..NET CF program that would run on either version, check what is actually 
running it, and either tell the customer "Download and run this CAB file", 
or even have a link to the right one to download that he could click and 
launch the browser, or you could copy both CAB files for your final program 
to the target device and this setup program could launch the right CAB to be 
installed, depending on what it found.  Since this little setup program 
would be written in managed code, it wouldn't care which processor was on 
the target device, so it's almost as good as a CAB that actually does the 
right thing...

Paul T.

"David" <guiness@nospam.nospam> wrote in message 
news:6FC971B3-5D62-41F8-8876-612F1758D34C@microsoft.com...

> Since CF2 is not reliably backward-compatible with CF1, I've had to build 
> a
> separate version of our CF1 application to target CF2.
>
> I see that I can use CabWiz to build multiple CAB files that target
> particular CE OS versions, list them all in an ini file, then pass that 
> ini
> file to CEAppMgr and let it select the right one.
>
> I don't see any way to have multiple CAB files targeting different CF
> versions. Am I missing something?
>
> How do others handle this scenario?
>
> --
> David
> 
Date:Mon, 20 Aug 2007 15:22:14 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us