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:
|