User's Manual

ProgrammingChapter 7
220 700 Series Color Mob ile 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 f iles 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
foryourapplication.
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
220).
2 Optional Create a SETUP.DLL file to provide custom control of the
installation process (page 232).
3 UsetheCABWizardtocreatethe.CABfile,usingthe.INFfile,the
optional SETUP.DLL file, and the device-specific application files as
parameters (page 235).
Creating an .INF File
An .INF file specifies i nformation 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, version, and other relevant 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$”