WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
54 / 65
6.3.4 Installing with CAB files
A convenient way of installing software is with a CAB file. A CAB file is an installation file that contains an
entire set of files and subfolders similar to a zip file.
It can also include registry entries that are entered into the registry of Windows CE devices during
installation.
An automatic program installation allows the CAB file to react flexibly to other potential requirements
(technical: a dll file is executed and controls the installation). Other preliminary and finalising operations can
be run in parallel to the installation.
This method is particularly suitable for field updates.
6.3.4.1 Manual CAB file installation
A MobileDeviceCentre, FTP or other connection is established and the CAB file is copied to the device.
Click the My Device icon on the Explorer desktop to open the CAB file. Double-tap the CAB file icon to start
the installation.
A dialogue box then appears where you can select the installation folder. The CAB files provided by ACD
should be extracted into the pre-defined folders.
Once the installation is complete, the CAB file is automatically deleted.
A basic requirement to ensure a successful installation is to first close all programs and their libraries that
you want to replace.
A remote installation is also possible via VNC.
6.3.4.2 CAB file installation via the MobileDeviceCentre
A MobileDeviceCentre connection is established to the Windows CE device.
The CAB file is then installed on the connected Windows CE device from the CeAppMgr.exe program of the
MobileDeviceCentre.
CeAppMgr.exe requires the name and path of an ini file that controls the installation as command line
parameters.
A batch can be called to launch the file:
@echo off
"C:\Windows\WindowsMobile\CeAppMgr.exe" .\ACDemuCE.ini
exit
Example of an ini file:
[CEAppManager]
Version = 1.0
INI file version
Component = ACDemuCE
Application name
[ACDemuCE]
Description = ACDemuCE
Uninstall = ACDemuCE
CabFiles = ACD ACDemuCE.CAB
Name(s) of the CAB file(s) to be installed