x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
 
 

Installing Applications on Windows CE - Host Install

CESD-S-0046

Applies To:

  • Windows CE 2.0, SP1
  • Windows CE 2.11, 2.12, SP1
  • Windows CE 3.0
  • Windows CE .net 4.0, 4.1, 4.2
  • Windows CE 5.0

Overview:

There are several ways that you can install applications onto your Windows CE based Handheld PC. This article covers the Host Side Installation method that you will find most commercial software presented in.

NB: This article is not applicable to Windows CE 1.0x


How-to Guide:

There are three ways that a software developer my provide you with software for your Handheld PC. These are:

  1. CESD-S-0046 : Host Install
  2. CESD-S-0047 : Cabinet Install
  3. CESD-S-0048 : Flat File Upload

Each of the three types require a slightly different procedure to install the application. There are benefits for distributing software in the different types.

The method by which a particular piece of software is distributed by is weighed up by the application developer.

Host Installer - Using ActiveSync with a distribution package

The Host side Installer is the most user friendly method of installing software. Most commercial software from larger companies will be distributed in a Host Side installation package.

Setup.exe example

When you purchase software either on CD or as a download from the Internet you will begin the installation process on the computer which you synchronise (Host PC) by double clicking on the setup.exe, or similar installation wrapper file.
This will begin a setup wizard which will begin the procedure of installing the software by way of your Host PC onto your device. Depending upon the type of host installer, this will either store information on your PC, making ActiveSync aware of its presence, or will simply use it as a conduit to directly push software onto your Handheld PC.

Host side installers provide you with a familiar interface to install software. You can specify custom installation options and where necessary enter product keys for the software license on the Host PC.
There are many different types of host side installer provided by different companies. Covering the different installer applications is beyond the scope of this article. However the processes involved and the options that you will be presented with are similar.

Host side installation universally requires that Microsoft ActiveSync be installed, operational and have a functional partnership with your H/PC. If you attempt to initiate a host installer without ActiveSync installed you will be presented with the following error message:

Error Message: Windows CE Services (ActiveSync) is not installed on this computer

This is intrinsically the down side of Host based installation, as software installation for users who lack ActiveSync communication hardware, are restricted by corporate installation policies or who are unable to connect their device to the installed version of ActiveSync (e.g. CE 1.0 cannot connect to ActiveSync 3.0, CE 2.xx cannot connect to ActiveSync 4.2) will be unable to install the application.

Once you have completed the setup wizard the Handheld PC software will be copied into the Program Files folder on your Host PC. Usually the software is placed in either:
c:\Program Files\Microsoft ActiveSync\<developer name>\<application>\
-or-
c:\Program Files\<developer name>\<application>\

The next time you connect your Handheld PC, or any device that is compatible with the software you have installed. ActiveSync will prompt you to confirm that you wish to install the application to the connected device.

The connected device must have a partnership established on the local computer in order for the installation process to work.

Add/Remove Programs remotly via Microsoft ActiveSync

Host side Add/Remove Program Control

Host installation also provides you with control of the application from within ActiveSync. Using Add/Remove Programs from the tools menu. You can uninstall and crucially reinstall the applications from your remote device. ActiveSync 3.x also allows you to uninstall the application from the Host computer. The majority of applications distributed with host installers can also be uninstalled from the main Windows Control Panel's Add / Remove Programs (Add or Remove Programs) on the Host PC.

When using a host installer as the final phase of the install operation ActiveSync will take over from the host installer for the task of copying the new program to your device. You will be prompted to choose whether you wish to install the the applications default location (specified by the developer, usually under \Program Files\<developer>) or to specify your own installation directory.

Installing Applications Dialogue

If you choose to specify your own installation directory ActiveSync will prompt you to choose whether you wish to install into your devices Main Memory, 0r, onto any Storage Cards it finds present.

Select Desitination

Simply choose the location and click OK. ActiveSync will copy the file data over to your Handheld PC and the installation will begin. Depending on the application you may be prompted once again to specify a more specific location within your devices file system to place the program.
If you decided to accept the default location you will not be presented with the Select Destination Media screen.

Once the Host site installation has completed ActiveSync will prompt you to check your devices screen for any further installation steps or information.

Download Complete Dialogue

The program has now been installed onto your Handheld PC.

While applications distributed in this manor provide ease of use and allow for the highest level of application control by the developer. For the end user you are required to use your Host computer to carry out the operation. If you do not or cannot connect your Handheld PC to your computer you will not be able to install the application in this way.
If this is the case please see the Cabinet Installation guide for information on how to remove and upload the cab packages from Host Side Installers - CESD-S-0049