Creating an .ini File for the Application Manager
The .ini file contains information that registers an application with the Application Manager. The .ini file has the following format:
[CEAppManager]
Version = version_number
Component = component_name
[component_name]
Description = descriptive_name
[Uninstall = uninstall_name]
[InstallDir = install_directory]
[IconFile = icon_filename]
[IconIndex = icon_index]
[DeviceFile = device_filename]
CabFiles = cab_filename [,cab_filename]
- version_number
- Numeric version of the Application Manager, which is 1.0.
- component_name
- String that identifies the name of the section for the application.
- descriptive_name
- String that will appear in the Description field of the Application Manager when a user chooses the application.
- uninstall_name
- String that identifies the application's Windows Uninstall registry key name. This name must match the application's registered Windows Uninstall key name, which is found in the HKLM\Software\Microsoft\Windows
\CurrentVersion\Uninstall registry key. Providing this name enables the Application Manager to automatically remove the application from the desktop computer and the device when a user clicks the Remove button in the Application Manager UI.
- install_directory
- String that identifies the desktop installation directory containing the location of the .cab files. If this key is nonexistent, which is recommended, the path of the .inf file is used for the installation directory.
- icon_filename
- String that identifies the relative path from install_directory to the desktop icon file. This string is used to display the device_filename when the file name is viewed in Windows CE Services.
- icon_index
- Numeric index into icon_filename. The value is used to display the device_filename when it is viewed in Windows CE Services. If this key is nonexistent, the first icon in icon_filename is used.
- device_filename
- File name on the device that will display the icon specified by icon_filename and icon_index when the device_filename is viewed in Windows CE Services.
- cab_filename
- File name of the available .cab files, relative to install_directory. Use commas to separate multiple cab_filenames. Do not include unnecessary spaces in this list of file names.