Chapter 3 — Configuring the Computer

Creating Cab Files

The Windows CE operating system uses a .cab file to install an application 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:

All application files are present.

A partial installation is prevented.

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:

1Create an .INF file with Windows CE-specific modifications (below).

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

3Use 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 65).

Creating an .inf File

An .inf file specifies information about an application for the CAB Wizard.

Below are the sections of an .inf file:

[Version]

This specifies the creator of the file, version, other relevant information.

Required?

Yes

 

 

 

 

Signature

“signature_name”

“$Windows NT$”

Provider

INF_creator

Example: RegSettings.All

 

 

 

CESignature

 

“$Windows CE$”

 

 

 

Example

[Version]

Signature = “$Windows NT$”

Provider = “Intermec”

CESignature = “$Windows CE$”

751G Color Mobile Computer User’s Manual

53

Page 67
Image 67
Intermec 751G user manual Creating Cab Files, Creating Device-Specific Cab Files, Creating an .inf File, Version