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

Signature
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.compactfra
mework?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).
> 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
[quoted text clipped - 38 lines]
>> > Matthew Fleming
>> > DermVision
dermite - 28 Apr 2006 19:32 GMT
Thanks. Where do I get a CAB redistributable for the CF 2.0? Will one CAB
work on all devices?
Matthew Fleming
> 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
[quoted text clipped - 42 lines]
> >> > Matthew Fleming
> >> > DermVision
Ilya Tumanov [MS] - 28 Apr 2006 19:48 GMT
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>

Signature
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.compactfra
mework?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).
> Thanks. Where do I get a CAB redistributable for the CF 2.0? Will one CAB
> work on all devices?
[quoted text clipped - 54 lines]
>> >> > Matthew Fleming
>> >> > DermVision
dermite - 28 Apr 2006 20:04 GMT
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
> 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
[quoted text clipped - 60 lines]
> >> >> > Matthew Fleming
> >> >> > DermVision
<ctacke/> - 28 Apr 2006 20:13 GMT
Yes, the CF redistributable MSI will do that for you.
-Chris
> So is there any way of adding the CF CABs to the installer in such a way
> that
[quoted text clipped - 76 lines]
>> >> >> > Matthew Fleming
>> >> >> > DermVision
dermite - 28 Apr 2006 20:30 GMT
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
> Yes, the CF redistributable MSI will do that for you.
>
[quoted text clipped - 80 lines]
> >> >> >> > Matthew Fleming
> >> >> >> > DermVision
<ctacke/> - 28 Apr 2006 21:16 GMT
Modify your INI file for ceappmgr.exe to include the CF cabs as well as your
own app cabs.
-Chris
> Yes, but I was hoping to provide my users with a single installer that
> would
[quoted text clipped - 104 lines]
>> >> >> >> > Matthew Fleming
>> >> >> >> > DermVision
dermite - 28 Apr 2006 22:09 GMT
Can I just include the CF cabs for all the possible targets, and the
installer will automagically know which one to use?
Matthew
> Modify your INI file for ceappmgr.exe to include the CF cabs as well as your
> own app cabs.
[quoted text clipped - 109 lines]
> >> >> >> >> > Matthew Fleming
> >> >> >> >> > DermVision
<ctacke/> - 29 Apr 2006 00:40 GMT
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
> Can I just include the CF cabs for all the possible targets, and the
> installer will automagically know which one to use?
[quoted text clipped - 126 lines]
>> >> >> >> >> > Matthew Fleming
>> >> >> >> >> > DermVision
dermite - 29 Apr 2006 01:38 GMT
Great. I think I've got it now. Thanks so much for the explanations.
Matthew
> 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
[quoted text clipped - 133 lines]
> >> >> >> >> >> > Matthew Fleming
> >> >> >> >> >> > DermVision