order of CAB auto-installation

order of CAB auto-installation

Post by gabu200 » Sun, 11 Jul 2004 00:44:40

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?
MAtteo GAbella

order of CAB auto-installation

Post by Chris Tack » Sun, 11 Jul 2004 01:16:19

How are you getting them to auto-install?

Chris Tacke, eMVP
Co-Founder and Advisory Board Member
Principal Partner
OpenNETCF Consulting



order of CAB auto-installation

Post by gabu200 » Tue, 13 Jul 2004 16:35:02

Well, i'll try to explain... I have 3 CABs to make my application
works: MyApp.cab, sqlce.dev.ppc3.arm.CAB and
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...

order of CAB auto-installation

Post by dumaro » Wed, 14 Jul 2004 17:28:05

try to install "sqlce.ppc3.arm.CAB" also.

order of CAB auto-installation

Post by dumaro » Wed, 14 Jul 2004 19:02:49

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

order of CAB auto-installation

Post by Darren Bec » Thu, 15 Jul 2004 08:50:43


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

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

Hope that helps,

order of CAB auto-installation

Post by gabu200 » Fri, 16 Jul 2004 17:52:13

thank you!