Intermec CK32 User Guide

Page of 149
Chapter 4 — Developing and Installing Applications
CK32 I-Safe Handheld Computer Users Manual
101
The format of the input file, in this example, is the standard 
registry format which should ease the creation of the input file 
since there are many publicly available utilities to generate a 
registry file besides Notepad. One example of a tool is the 
Microsoft Remote Registry Editor.
AutoCab
AutoCab (AutoCab.exe) extracts files, registry settings, and 
shortcuts from Windows Mobile cabinet (.cab) files. The 
Windows Mobile startup sequence invokes AutoCab as a part of 
AutoExec and AutoRun. During the Windows Mobile startup 
sequence, AutoCab processes all CAB files in the “\CabFiles” 
directory relative to the current location of Autocab, unless the 
location is overridden by command line arguments. AutoCab can 
run as a stand-alone program to install a CAB file or a directory 
of CAB files.
AutoCab only installs the CAB file if it was not installed before 
by AutoCab. To track the installation of a .cab file, AutoCab 
marks the .cab file with the System attribute. This attribute is 
ignored if the device is performing a clean-boot on a non-
persistent file system.
AutoCab preserves the .cab file after installation if the ReadOnly 
attribute is set. If not set, the .cab file is deleted automatically 
after installation. Command line switches are described as 
follows.
Usage: 
AutoCab [-ChkRst=][-File=][-Force][-Log=][-Move=][-Quiet=][-Show=][-
Signal=]
If <PathName> references a single .cab file, that file is processed. 
If <PathName> references a directory, all the .cab files in that 
directory is processed. If <PathName> is a wild card pattern, all 
files matching that pattern is processed, If <PathName> is 
omitted, InstallCab processes all the .cab files in directory 
“\CabFiles.”