
Chapter 3 — Configuring the Computer
AutoCab
AutoCab (AuotCab.exe) extracts files, registry settings, and shortcuts from Windows cabinet (.CAB) files. The Windows 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
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
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
Specifies the cab files to extract. Note that the specified files need not end with the .cab extension. | |
Forces the specified cab files to extract regardless of whether it was previously extracted. | |
|
|
Set to 1 to create log file in same folder AutoCab is running. Debugs cab installation. Default is 0 (disabled). | |
Set to 1 to force source cab file deletion, even when | |
|
|
Set to 0 to allow AutoCab to display user error message box. Debugs cab installation. Default is 1 (quiet). | |
Set to 0 to prevent showing any installation progress interfaces. Also prevents user from canceling installation. | |
| Set to 1 to show normal installation. Set to 2 to show Intermec installation progress interface (user can see |
| what is installing but cannot cancel it). Default is 1 (show normal). |
Set to string name of signal to use at the completion of cab installation before a reboot occurs (if enabled). | |
| AutoCab uses WaitForSingleObject on this name. Default is disabled. |
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.”
Example:
;Install all cab files in the \Flash File Store\XYZ directory, regardless. AutoCab
;Install only one cab file, use Intermec cab installation display
AutoCab
52 | 751G Color Mobile Computer User’s Manual |