Installation problem (repost)

L

Leif Eirik Olsen

Hi again,

Yesterday I had a installation problem and thought I solved it, but I was
wrong:)

Everything was okey until I moved my dev enviroment to a new dev machine and
did some minor changes to my app and rebuild the app and my installation.

Case:
VS2003 ver 7.1.6030
..Net 1.0 (1.1?) ver 1.1.4322 SP1
2 projects: Main app: SmartTrackCF. Installation app: AutoRun.exe
PDA iPaq HP4150 (Only one we can get that is ATEX approved)
AutoRun.exe is put in @\Storage Card\2577
SmartTrackCF.Cab is put in @Storage Card\

When I do a hard reset of the PDA the app will be installed automatically.
This used to work just fine.

Now during the installation I get a notifycation message saying :
"Application requires the installation of netcf.core.ppc3.arm.cab for it to
run properly. Install the Cab file before running this application"

My application still works just fine, but I very much would like to get rid
of that message.

I found this link : (http://www.microsoft.com/downloads/...45-f92bec03032f)
and using this I can update my PDA and problem goes away, BUT of course as
soon as I do a Hard reset of the PDA the problem reoccures.

I think I need to update some files on my dev machine, but I'm really not
sure here.

Anyone have any hint or clue on what to do to solve this?

Thanks for your time.

regards,
Leo
 
S

Simon Hart [MVP]

That link has been truncated. What did you install? Does your app run without
installing the framework on the device? what OS does that device run? are you
still compiling against the CF 1.0?
 
L

Leif Eirik Olsen

Thanks Simon,

Sorry about the truncated link, here is what the link finally pointed to:
http://www.microsoft.com/downloads/...FamilyID=a5a02311-194b-4c00-b445-f92bec03032f
.... and that's what I install on the PDA.

My app does not run whitout the framwork. I'm not really sure what my Cab
file installs, but several dll's are beeing installed and I would guess it
the CF framwork:)

OS : Microsoft Pocket PC 2003
Am I still compiling against CF 1.0 ? :) Well, much og this CF and .net
stuff is still new to me so I might be mistaken, but in the VS2003 aboutbox
it says Microsoft .NET Framework 1.1 Version 1.1.4322 SP1


regards,
Leo
 
P

Peter Foot

If you are using VS2003 then you are building against the Compact Framework
1.0. You .cab file will not include the .NETCF runtime. My guess is that
although the .cab file generated by Visual Studio has a check for the .NETCF
1.0, your device has it in rom and the setup dll which is used by VS2003
doesn't see it. You can remove the check by modifying the .inf file
generated by VS2003 and then running the BuildCab.bat file outside of Visual
Studio itself. VS2003 packages a setup dll and a text file which indicates
pre-requisites for the application, if you are confident that this will not
be a problem you can remove the references to them from the .if file and
rebuild.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - Software Solutions for a Mobile World
In The Hand Ltd - .NET Components for Mobility
 
L

Leif Eirik Olsen

Thanks alot Peter,

That sounds like it could be it. I'll test this as soon as I can.
I was just about to leave the office now for a two week vacation to Croatia
:) But, even though I wouldn't be able to test it until I'm back, be sure
your replay was very much appriciated.

Thanks again,
Leo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top