installing windows compact framework opn a wince PNA

ftaylor74

Member
Licensed User
Hi, I'm trying to install windows compact framework 2.0 on a personal navigational device. The device doesn't use synching, so I'm guessing that I need to copy the file to to the storage card and perhaps launch the .msi file from the explorer. Does that sound right?
 

mjcoon

Well-Known Member
Licensed User

If I copy an *.msi file to my WM5.0 (not WinCE) device and try to open it is says "no program associated with that file".

I suspect that "Windows Installer" files can only be opened on a Windows PC. If it does not contain, or you cannot acquire, a CAB file that can be copied to your card I don't think that you will be able to progress.

But there are better experts than me around...

Mike.
 

agraham

Expert
Licensed User
Longtime User
You install the msi on your desktop, it also includes files needed by the Basic4ppc compiler when you compile using the full version of Basic4ppc. ActiveSync would then let you install the actual framework on the device. If it won't use ActiveSync then ProgramFiles/Microsoft.NET/SDK/CompactFramework/WindowsCE contains two folders wce400 and wce500. These have the cabs for devices with various processors.

wce400/armv4i has different versions for ARM processors and Windows CE 4.0 and Pocket PC 2003

wce500/armv4i has versions for ARM processors and Windows CE 5.0 and Windows Mobile 5.0 onwards. I guess you want NETCFv2.wm.armv4i.cab. Copy it to the device and click on it in Explorer.
 

ftaylor74

Member
Licensed User
installing compact framework onto PNA sd card

Thanks for the replies. I copied the cab to the SD Card, but get the error message "Cannot find 'NetCFv2.wm.armv4i' (or one of its components)... when I try to open the cab in explorer. What might wince be looking for other than the CAB?
Thanks
 

ftaylor74

Member
Licensed User
Hi agraham,
Its windows CE Version 5.00, processor is Samsung ARM920T-s3c2443. On further investigation, I found the Microsoft .Net CF 3.5 Dat and .net 3.5 DLL under windows\AppMgr\. Also in the windows\ i found .net CF 3.5.GAC file and .net CF 3.5.unload, along with several other .net libraries.

So it appears that .net cf 3.5 is loaded on this device (Navigon 2100 Maxx GPS). I quess my question now is, shouldn't a Basic for PPC program be executable on this device? I still get the .Net CF Initialization error when I try to execute.
Thanks,
BTW, you guys really provide excellent support through this forum. Well done.
 

ftaylor74

Member
Licensed User
Sorry. Let me clarify. Initially, I tried to execute a small app that I wrote w/ Basic4ppc onto the PNA. When I tried it, I got the ".net CF Initialization Error". I assumed at that point that .net was not installed an came to the forum to ask how that could be accomplished. I followed your advice, loaded the CAB (.net CF V2.0) file onto the SD card and tried to install it. At that point, I recieved the error message "Cannot find 'NetCFv2.wm.armv4i' (or one of its components). Afterwards, I poked around in the file system and discovered that .net CF 3.5 appears to already be installed. Which brings me back to my last post, where I wonder if I should expect the the program to run under net CF3.5?

As you can see I'm still a newbie, so any ideas are hugely appreciated.
thx
 

mjcoon

Well-Known Member
Licensed User
Afterwards, I poked around in the file system and discovered that .net CF 3.5 appears to already be installed.

Just a small obervation: a file being present is not quite the same as something being installed. Installation may requireextra information, such as entries in the registry. Whereas a file in ROM may just be there because it is left over from something else entirely (some other version).

AGraham often reminds us that WinCE is very variable depending on the manufacturer, in contrast with WinMob which has prescribed content.

Mike.
 

agraham

Expert
Licensed User
Longtime User
Navigate to the device Windows folder and if you find a program cgacutil.exe then run it and it will tell you which version of the Compact Framework is installed. I woukd expect Basic4ppc to run OK under CF 3.5.

Are you trying to run the Basic4ppc program in the IDE on the device or as a compiled exe?. If a compiled exe are you sure that you compiled it for the device as this needs the Compact Framework 2.0 installed on your desktop and it looks from your first post that you may not have.
 

ftaylor74

Member
Licensed User
Ok, ran cgacutil and it reports .net CF 3.5.7283.0.

I will recompile and make sure that CF2.0 is installed before i recompile.
Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…