WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
53 / 65
6.3 Installing software
There are various ways to install software on ACD Windows CE devices.
6.3.1 Installing from the IDE by the programmer
When developing a program, a programmer generally uses a MobileDeviceCentre connection to upload the
current program statuses as well as for remote debugging.
The MobileDeviceCentre / IDE combination can also be used for program installation. This is recommended
in the following cases
•
Programs are always installed (and will be in the future) by a programmer or a qualified administrator.
•
The majority of devices in use are always located within access of a programmer or qualified
administrator.
•
The number of devices is restricted.
6.3.2 xcopy installation
Another way to install the software is for the administrator to add a MobileDeviceCentre, FTP or other
connection to the Windows CE devices and manually copy the installation file(s) to the devices in the “xcopy”
process (i.e. with subfolders).
If an existing installation is overwritten, make sure that every program and every dependent system library
(dll) which you want to replace is closed first or that the old files are renamed first (functions under
Windows CE when device is running).
When doing so, the following is recommended:
•
Programs are always installed (and will be in the future) by an administrator.
•
The majority of devices in use are always located within access of an administrator.
•
The number of devices is restricted even though this administration method supports the use of
considerably more devices than the first method.
6.3.3 Program update / installation when booting
Updates/installation files are copied to the device. With slower connections, this is done in the background
without affecting other programs. The last way is to copy an UpdateCE.bat file directly into the \flashdisk
folder with the aim of “triggering” the action on the next reboot.
When this file is detected, the startup process runs the file and deletes the file once it has been executed.
The advantage here is the installation runs automatically during the startup process before the customer
application is executed. The application files are not running and can be exchanged without any difficulty.
UpdateCE.bat can execute any action or execute installations or updates. The chapter below provides an
example based on a CAB file installation.