Intermec 751G 用户手册

下载
页码 156
Chapter 3 — Configuring the Computer
52
751G Color Mobile Computer User’s Manual
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 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.”
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 clean 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 log file in same folder AutoCab is running. Debugs 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 error message box. Debugs cab installation. Default is 1 (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.