Operation Manual

ProgrammingChapter 7
188 700 Series Color Mobile Computer User’s Manual
Creating CAB Files
The Windows CE operating system uses a .CAB file to install an applica-
tion on a Windows CE-based device. A .CAB file is composed of multiple
files that are compressed into one file. Compressing multiple files into one
file provides the following benefits:
S All application files are present.
S A partial installation is prevented.
S The application can be installed from several sources, such as a desktop
computer or a Web site.
Use the CAB Wizard application (CABWIZ.EXE) to generate a .CAB file
for your application.
Creating Device-Specific CAB Files
Do the following to create a device-specific .CAB file for an application, in
the order provided:
1 Create an .INF file with Windows CE-specific modifications (page
188).
2 Optional Create a SETUP.DLL file to provide custom control of the
installation process (page 197).
3 Use the CAB Wizard to create the . CAB file, using the .INF file, the
optional SETUP.DLL file, and the device-specific application files as
parameters (page 201).
Creating an .INF File
An .INF file specifies information about an application for the CAB Wi-
zard. Below are the sections of an .INF file:
[Version]
This specifies the creator of the f ile, v ersion, and other r elevant informa-
tion.
Required? Yes
S Signature:“signature_name
“$Windows NT$”
S Provider:“INF_creator
The company name of the application, such as “Microsoft.”
S CESignature
“$Windows CE$”
Example
[Version]
Signature = “$Windows NT$”
Provider = “Intermec”
CESignature = “$Windows CE$”