Re: Deploying .NET CF 2.0 with applications
- From: dermite <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 17:38:01 -0700
Great. I think I've got it now. Thanks so much for the explanations.
Matthew
"<ctacke/>" wrote:
Yep. It's not really automagic - the CAB files hold info on what targets.
they are for, so when a device connects, ActiveSync queries it's processor
type, CE version, etc. and looks to see if it has a CAB that matches those
variables.
-Chris
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D31CEBD-2E68-4E63-BFCB-751B264EB027@xxxxxxxxxxxxxxxx
Can I just include the CF cabs for all the possible targets, and the
installer will automagically know which one to use?
Matthew
"<ctacke/>" wrote:
Modify your INI file for ceappmgr.exe to include the CF cabs as well as
your
own app cabs.
-Chris
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4F65AC35-9782-4318-B149-807FA12C3950@xxxxxxxxxxxxxxxx
Yes, but I was hoping to provide my users with a single installer that
would
install my application and all of its prerequisites, including the CF
v.
2.0.
I could refer them to the MS webpage containing the CF redistributable
MSI,
with instructions to download and run it if necessary, but they might
not
know what to do because they might not know whether they already have
the
right CF runtime or not. Perhaps this complication is unavoidable. How
do
other people handle the problem?
Matthew
"<ctacke/>" wrote:
Yes, the CF redistributable MSI will do that for you.
-Chris
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0728A4C9-80A4-484D-AEA3-9A989779ED3F@xxxxxxxxxxxxxxxx
So is there any way of adding the CF CABs to the installer in such a
way
that
the correct one will be chosen for the installation target?
Matthew
"Ilya Tumanov [MS]" wrote:
No, one CAB won't work on all devices. CF 2.0 CABs are described
here:
http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx
By default VS would put them under "%ProgramFiles%\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\<version>\<cpu>
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no
rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group"
button.
3. Hit "Search this group" button.
4. Read answer(s).
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ADC34738-3A32-4374-B796-382AE046019F@xxxxxxxxxxxxxxxx
Thanks. Where do I get a CAB redistributable for the CF 2.0? Will
one
CAB
work on all devices?
Matthew Fleming
"Ilya Tumanov [MS]" wrote:
No, it does not. You need to add CABs for all dependencies into
your
MSI,
add INI files for each dependency and repeat deployment process
N+1
times
for N dependencies you have plus your application.
--
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers
no
rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group"
button.
3. Hit "Search this group" button.
4. Read answer(s).
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2A55365B-4A0B-41DE-8A73-9C2350E97453@xxxxxxxxxxxxxxxx
Thanks. I've read this, but its not clear how the procedure it
describes
addresses the CF 2.0 dependency. In fact I followed this
procedure
to
create
a cab file, which I moved to the Windows Mobile 2005 Pocket PC
emulator. I
clicked on the cab file, which installed the application, but
when I
tried
to
run the app it failed because of no CF 2.0 on the emulator. I
didn't
get
to
the second half of the described procedure, creating an msi so
that
the
cab
can be installed via
ActiveSync. Does this somehow automatically handle the CF
dependency?
I
don't see how-?
Matthew Fleming
"<ctacke/>" wrote:
This is 2005 specific:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/deploy_cf2_apps_cab_msi.asp
-Chris
"dermite" <dermite@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:D9B364D3-D670-4D14-845B-B58B8DD388F7@xxxxxxxxxxxxxxxx
Folks,
I have an application which is dependent on version 2 of
the
CF,
and
I'd
like my installer to deploy the CF along with the
application.
I
have a
general idea of what is required, but the only
documentation
from
Microsoft
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdepl.asp)
isn't really helpful because it refers to earlier versions
of
Visual
Studio
and the CF, and includes code that isn't at usable any
more.
I'd
really
appreciate a brief summary, from someone who has done this
recently
with
VS
2005, of how to go about this.
Thanks very much,
Matthew Fleming
DermVision
- References:
- Re: Deploying .NET CF 2.0 with applications
- From: <ctacke/>
- Re: Deploying .NET CF 2.0 with applications
- From: Ilya Tumanov [MS]
- Re: Deploying .NET CF 2.0 with applications
- From: dermite
- Re: Deploying .NET CF 2.0 with applications
- From: Ilya Tumanov [MS]
- Re: Deploying .NET CF 2.0 with applications
- From: dermite
- Re: Deploying .NET CF 2.0 with applications
- From: <ctacke/>
- Re: Deploying .NET CF 2.0 with applications
- From: dermite
- Re: Deploying .NET CF 2.0 with applications
- From: <ctacke/>
- Re: Deploying .NET CF 2.0 with applications
- From: dermite
- Re: Deploying .NET CF 2.0 with applications
- From: <ctacke/>
- Re: Deploying .NET CF 2.0 with applications
- Prev by Date: Re: Deploying .NET CF 2.0 with applications
- Next by Date: BarCode reader and CE framework
- Previous by thread: Re: Deploying .NET CF 2.0 with applications
- Next by thread: OpenNETCF EventWaitHandle.WaitAny()
- Index(es):