Chapter 3 — Configuring the Computer
CK61 Mobile Computer with Windows Mobile User’s Manual 89
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.
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 CK61
If you have several processes that you need running in a specific order as the
CK61 turns on, you can use the AutoRun system to customize the way
applications load. For compatibility with other Intermec computers, you
can place a copy of AutoRun.exe in the same folder as your AutoRun.dat
file but it is not required.
To create and install the AutoRun.dat file on your CK61
1 On the CK61, create a folder called “SYSTEM.”
2 On your desktop, open the Notepad application.
-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.