Intermec 700 Laptop User Manual


 
ProgrammingChapter 7
224 700 Series Color Mobile Computer User’sManual
Creating CAB Files
The Windows CE operating system uses a .CAB f ile 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 . C AB f ile for an application, in
the order provided:
1 Create an .INF file with Windows CE-specific modifications (page
224).
2 Optional Create a SETUP.DLL file to provide custom control of the
installation process (page 236).
3 UsetheCABWizardtocreatethe.CABfile,usingthe.INFfile,the
optional SETUP.DLL file, and the device-specific application files as
parameters (page 239).
Creating an .I NF File
An .INF file specifies inf ormation about an application for the CAB Wi-
zard. Below are the sections of an .INF file:
[Version]
This specifies the creator of the file, 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$”