why do the the Cab files self-Deleted after the installation on Wc

G

Guest

Hi guys,


Environment :Wince 5.0, Framework 1.1 SP3, Symbol SMDK 1.4, Visual studio 2003

Following are the cab files that I move to the barcode scanner to install
and make my app run :
netcf.all.wce4.armv4.cab : for installing Framework 1.1 with SP3
Symbol cab file : for installing symbol dlls
OpenNETCF.SDF.wce4.armv4.cab : a 3rd party component from OpenNet for
installing a datatime control
SCMSMobile_WCE5.ARMV4.CAB : for installing my application , this is the cab
file that i create on my machine using cabwiz.

I them move them to the barcode scanner's application folder and install
them by double clicking on them which installs the application on the barcode
scanner but the strange part is that after they are installed it;s almost
like they self delete themselves and dissaper, this was not the behavior with
wince 4.1. I am trying to make sure that the scanner persists a cold boot for
which i have to make sure these installs dont delete themselves.

Can anybody tell me how i make them not delete themselves. any help is
appreciated.
 
P

Peter Foot [MVP]

Mark the files with the Read-Only attribute (on the desktop before you copy
them over) and they won't be deleted.

Peter
 
W

Wince_Newbie

How to make the CAB run after a master reset?
Is it possible to put it in some location and make the phone to pick
up from that location after a master reset?
I read about Wceldcmd.exe somewhere, but could not find the exe
anywhere.

Plz give more info on this
 
P

Peter Foot [MVP]

This is possible on some devices but not all, sadly they all behave slightly
differently. What usually works is autorun from SD card or occasionally a
built in flash memory partition. You'll need to create your own Autorun.exe
file which will be called when an SD card is initialised or removed. This
should be placed in a subfolder on the card called "2577" for all ARM based
devices. Within this Autorun.exe you can then pass your cab files to
wceload.exe on the device to install them.
Some OEMs (such as Intermec) provide other ways to run scripts on device
boot so check with your device manufacturer.

Peter
 

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