Creating cab files, Creating device-specific cab files – Intermec 700 User Manual

Page 248

Advertising
background image

Programming

Chapter

7

224

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
224)
.

2

Optional Create a SETUP.DLL file to provide custom control of the
installation process (page 236).

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 239).

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 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$”

Advertising