Chapter 3 — Configuring the Computer
90 CK60 Handheld Computer with Windows Mobile User’s Manual
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 cold-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.
Usage:
AutoCab [-ChkRst=][-File=][-Force][-Log=][-Move=][-Quiet=][-Show=][-Signal=]
Command line switches are described below.
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 -FILE="\Flash File Store\XYZ\*.cab" -FORCE
; Install only one cab file, use Intermec cab installation display
AutoCab -FILE=”\myCab\app.cab” =show=2
-ChkRst= Set to 1 to configure AutoCab to check for the Reset flag after all CAB files
are installed. This file is created by CAB files that want a warm reset after
installation. Default is 0 (do not check for flag).
-File= Specifies the CAB files to extract. Note that the specified files need not end
with the .cab extension.
-Force Forces the specified CAB files to extract regardless of whether it was
previously extracted.
-Log= Set to 1 to create a log file in the same folder that AutoCab is running.
Useful for debugging CAB installation. Default is 0 (disabled).
-Move= Set to 1 to force source CAB file deletion, even when read-only bit set on
file. Default is 0 (disabled).
-Quiet= Set to 0 to allow AutoCab to display user message box on errors. Useful for
debugging CAB installation. Default is 1 (keep quiet).
-Show= 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).
-Signal= 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.