Intermec 751G Cell Phone User Manual


 
Chapter 3 — Configuring the Computer
751G Color Mobile Computer User’s Manual 59
Example
AddReg = RegSettings.All
[RegSettings.All]
HKLM,%reg_path%,,0x00000000,alpha; <default> = “alpha”
HKLM,%reg_path%,test,0x00010001,3; Test = 3
HKLM,%reg_path%\new,another,0x00010001,6; New\another = 6
[CEShortCuts]
This section, a Windows CE-specific section under the [DefaultInstall]
section, is optional and describes the shortcuts that the installation
application creates on the device. Within the [DefaultInstall] section, a
reference may have been made to this section, such as “ShortCuts.All”. This
section defines the options for that setting.
Example
CEShortcuts = Shortcuts.All
[Shortcuts.All]
Sample App,0,sample.exe; Uses the path in DestinationDirs. Sample
App,0,sample.exe,%InstallDir%; The path is explicitly specified.
Sample .INF File
[Version]; Required section
Signature = “$Windows NT$”
Provider = “Intermec Technologies Corporation”
CESignature = “$Windows CE$”
Flag Value Description
FLG_ADDREG_NOCLOBBER 0x00000002 If the registry key exists, do not overwrite it. Can be used
with any of the other flags in this table.
FLG_ADDREG_TYPE_SZ 0x00000000 REG_SZ registry data type.
FLG_ADDREG_TYPE_MULTI_SZ 0x00010000 REG_MULTI_SZ registry data type. Value field that
follows can be a list of strings separated by commas.
FLG_ADDREG_TYPE_BINARY 0x00000001 REG_BINARY registry data type. Value field that follows
must be a list of numeric values separated by commas, one
byte per field, and must not use the 0x hexadecimal prefix.
FLG_ADDREG_TYPE_DWORD 0x00010001 REG_DWORD data type. The noncompatible format in
the Win32 Setup .INF documentation is supported.
Required? No
shortcut_list_section shortcut_filename String that identifies the shortcut name. It does not require the .LNK
extension.
shortcut_list_section shortcut_type_flag Numeric value. Zero or empty represents a shortcut to a file; any
nonzero numeric value represents a shortcut to a folder.
shortcut_list_section target_file_path String value that specifies the destination location. Use the target file
name for a file, such as MyApp.exe, that must be defined in a file
copy list. For a path, use a file_list_section name defined in the
[DestinationDirs] section, such as DefaultDestDir, or the
%InstallDir% string.
shortcut_list_section standard_destination_path Optional string value. A standard %CEx% path or %InstallDir%. If
no value is specified, the shortcut_list_section name of the current
section or the DefaultDestDir value from [DestinationDirs] is used.