order of CAB auto-installation

M

Matteo Gabella

is there a way to decide the order of CAB auto-installation?
i have 3 CABs for my application: the app's cab, the SQLCE cab and CF cab...
but... pocket pc decide to install app's CAB first, and it fails!
any suggestions?
tx
MAtteo GAbella
 
M

Matteo Gabella

Well, i'll try to explain... I have 3 CABs to make my application
works: MyApp.cab, sqlce.dev.ppc3.arm.CAB and
netcf.core.ppc3.arm.cab...
I put these CABs in the "\Flash File Store\cabfiles" directory on my
Intermec 700 (pocket pc 2002) so when the battery completely ends (and
all it's been deleted except Flash) first begin OS setup, then the CAB
starts to auto - extract and install application...
The problem is that "MyApp.cab" starts before
"netcf.core.ppc3.arm.cab" and it gives an error (something like "you
have to install .NET before")...
So what can I do? I can't group all these CABs in one, so I have to
decide the order of extraction...
I hope it's clear...
Tx
matt
 
J

Jimmy Page

you have to add also System_SR_it.cab (you're italian, i suppose) and
to force installation order you have to rename cabs with
"0.<cabname>", "1.<cabname>", etc...
ppc will follow numeric order..
JP
 
D

Darren Beckley

Hi,

I guess you have AutoRun.exe and AutoCab.exe in \Flash File Store\2577 to
automate installation? In that case you can specify installation order using
an additional text file named AutoCab.dat in the 2577 directory. Each line
in AutoCab.dat should contain the full path to a cabfile. AutoCab.exe will
read this file and install cabfiles listed within it in the order they
appear. Any cabfiles in the CabFiles directory that are not listed in
AutoCab.dat will still get installed installed after those listed in
AutoCab.dat.

For your example your AutoCab.dat file would contain three lines like this:

\Flash File Store\CabFiles\netcf.core.ppc3.arm.cab
\Flash File Store\CabFiles\sqlce.ppc3.arm.CAB
\Flash File Store\CabFiles\MyApp.cab

Also make sure you are using AutoRun/AutoCab for Flash File Store (rather
than SD/CF card). You need to get 2577FFS.zip file from the Component
Toolbox area of the Intermec Developers Library. You can register for access
at
http://www.intermec.com/eprise/main/Intermec/Content/Support/DevelopersSupport/IDL_Support

Hope that helps,
Darren
 

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