Installing and Managing Applications on a Palm-size PC

Palm-size PC software has two unique features that affect how a user installs applications. First, a user has access to only one layer of subdirectories in the My Documents directory. Second, there is no Windows CE Explorer. Therefore, a user cannot search for executable files or data files as he or she would in on a desktop computer. Keep these two differences in mind as you read the following section, which discusses how to set up applications correctly and how to let the user access files and applications.

The installation process for Palm-size PC software differs slightly from what is described in that chapter, however, due to the unique filing system. The following table shows the installation macros that you can use for Palm-size PC software. Use these macros in the DestinationDirs section of the CAB Wizard setup INF file.

Macro string
Palm-size PC directory
%CE1% \Program Files
%CE2% \Windows
%CE3%  
%CE4% \Windows\StartUp
%CE5% \My Documents
%CE6% \Program Files\Accessories
%CE7% \Program Files\Communication
%CE8% \Program Files\Games
%CE9%  
%CE10%
%CE11% \Windows\Start Menu\Programs
%CE12% \Windows\Start Menu\Programs\Accessories
%CE13% \Windows\Start Menu\Programs\Communications
%CE14% \Windows\Start Menu\Programs\Games
%CE15% \Windows\Fonts
%CE16%  
%CE17% \Windows\Start Menu

As you see in this table, several Windows CE paths are not included in the associated file structure. These paths correspond to macro strings %CE3%, %CE9%, %CE10%, and %CE16%. Also, the paths corresponding to %CE11% through %CE14% and %CE16% are different than they are on other Windows CE platforms.

A user needs to be able to access your application once he or she has installed it. Because the Palm-size PC software does not include Windows CE Explorer, you need to install a link in the Start menu for the user to access your executable files. You should install this link in the Programs directory or its subfolders at \Windows\Start Menu\Programs.

Note On a Palm-size PC, a user can view only shortcuts created in the Start Menu directory and its subfolders at \Windows\Start Menu.

After installing an application, a user can access and store data files. Place data files you want the user to have access to in folders in the My Documents directory. The Open and Save dialog boxes automatically place data files in My Documents in a project folder that the user chooses. Use the Win32 functions GetSaveFileName and GetOpenFileName to display these dialog boxes.