Skip to main content

Past Blast

Featured Products

Windows Mobile Developer Controls
Windows Mobile Developer Controls
Stay in touch using the DEVBUSS RSS feeds.
 

News

Windows Mobile Developer Controls
Windows Mobile Developer Controls

deVBuzz speaks with Jeff Law of PPCInstall

Written by Jeff Law  [author's bio]  [read 29878 times]
Edited by Derek

Download the code

Page 1  Page 2  Page 3 

On a new setup project, these fields will have been filled in with details derived from the eVb project file. Any field may be changed to reflect the user's requirements. Once this part is complete, the user can work with the files to be included in the setup:

Note that there is a file section for each of the three processors currently employed on PocketPC's.

In the instance shown, PPCInstall has picked up the fact that ADOCE is referenced in the eVb project file and added all necessary components, marking them for registration, and as shared components.

This latter point is of no real relevance, as Windows CE appears to ignore some shared attributes when uninstalling an application. At least, as far as can be ascertained with careful testing, an un-install seems to un-register the eVb components, but leave them on the device!

A useful point for developers is to add all needed run-time files, such as bitmaps, to the eVb project as related documents. Doing this will allow PPCInstall to automatically add these files to the setup under the application folder ('\Program Files\PocketRealty' in the example). Apart from anything else, it is good programming discipline to add these files to the 'Related Documents' part of the project for future reference.

For the same reason, it is an excellent idea to add the ADOCE reference to your project (if you're using it, of course!). This will allow PPCInstall to add those files to the project. By the way, if you haven't referenced ADOCE in your project, PPCInstall will provide a button on the Setup Files page allowing you to have them added with one button-click!

Another useful feature of PPCInstall is the ability to add new folders under the application folder or the 'My Documents' folder. Some users prefer to have application data files or databases in their own folder within 'My Documents' - this feature makes that extremely simple to achieve.

PPCInstall v1.4 added the ability to set up automatic help-file shortcuts. If a help-file is added to the application folder, right-clicking on that file will provide an option to create a help-file shortcut. The effect of this is to create a new shortcut file in the 'Windows\Help' folder. Following installation, the help-file will then have a shortcut in the Windows Help ('All Installed Help') on the device.

The next stage of the setup is to create any required shortcuts:

Right-clicking on the Shortcut List provides the ability to create new, or edit existing shortcuts, or delete an existing one. Each shortcut may be defined as being applicable to all processors or for a specific model.

Next, the user may set up any Registry entries required in the setup:

Previous Page