Intermec cn30 User Guide

Page of 196
Chapter 3 — Configuring the CN30
106
CN30 Mobile Computer User’s Manual
AutoCab only installs the CAB file if it was not installed before by Auto-
Cab. 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 perform-
ing 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 <Path-
Name> references a directory, all the .CAB files in that directory is pro-
cessed. 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
Customizing How Applications Load on the CN30 Computer
If you have several processes that you need running in a specific order as the 
CN30 Computer turns on, you can use the AutoRun system to customize 
the way applications load. For compatibility with other Intermec comput-
ers, you can place a copy of AUTORUN.EXE in the same folder as your 
AUTORUN.DAT file but it is not required.
-ChkRst=
Set to 1 to configure AutoCab to check for the Reset flag after all CAB files are installed. This file is cre-
ated 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 instal-
lation. 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.