Mobile Device Package Editor Reference
13
Creating Installations for Mobile Devices
z
Device Installation Directory
Select or create a directory in which to store files on the mobile device. To create a
directory, select a directory and add the name of your directory at the end.
(Example: select \Program Files and then type \MyDirectory at the end.)
z
Application Type
The Microsoft® Windows Mobile™ platform supports Pocket PC and Smartphone
devices. This option determines which CabWiz program is used to compile the
installation.
Pocket PC
Uses Cabwiz.exe.
Smartphone
Uses CabwizSP.exe.
About Multiple Device Support
¾
Pocket PC applications only.
The Microsoft® Windows Mobile™ platform supports Pocket PC and Smartphone
devices. Both the Pocket PC and Smartphone operating systems are based on Windows
CE, and are very similar except for their platform and processor support. Smartphone
only supports Smartphone devices, but Pocket PC is compatible with many different
platforms and processors. Therefore, when you create a Pocket PC installation, you can
specify additional platform and processor information. A single .CAB file can install to
only one platform-processor combination. An installation that supports multiple
platforms and processors requires multiple .CAB files. At run time, the mobile device
installation queries the connected mobile device for its platform and processor, and then
runs the .CAB file that has support for that system.
A single .INF file can contain information to produce multiple .CAB files for installation on
multiple platforms. The platform-specific information is identified in the CEDevice
section of the .INF file. In Mobile Device Package Editor, you provide the information for
the CEDevice section by defining devices on the Device Support page.
See
Defining Device Support
on page 14.
Every installation contains a Default device. If an application is platform-independent,
then you can add all the application’s resources to the Default device. Compiling the
installation creates a single .CAB file that can install the application on any platform.
If an application contains resources that are platform-dependent, you can define
multiple devices within a single installation project, and assign the platform-specific
resources to the appropriate device. Compiling the installation creates a separate .CAB
file for the Default device and for each additional device that you defined.
The resources that you add to the Default device are included in every .CAB that is
compiled from the installation. Resources that you add to a specific device are included
in the .CAB file for that device only.
Example: An application, named Sample, contains three devices: Default, Device1, and
Device2.