Copyfiles, Addreg – Intermec 751G User Manual
Page 72

Chapter 3 — Configuring the Computer
58
751G Color Mobile Computer User’s Manual
[CopyFiles]
This section, under the [DefaultInstall] section, describes the default files
to copy to the target device. Within the [DefaultInstall] section, files were
listed that must be defined elsewhere in the .inf file. This section identifies
that mapping and may contain flags.
Example
[DefaultInstall.SH3]
CopyFiles = Files.Common, Files.SH3
[DefaultInstall.MIPS]
CopyFiles = Files.Common, Files.MIPS
[AddReg]
This section, under the [DefaultInstall] section, is optional and describes
the keys and values the .cab file adds to the device registry. Within the
[DefaultInstall] section, a reference may be made to this section, such as
“AddReg=RegSettings.All”. This section defines options for that setting.
Required?
Yes
copyfile_list_section
destination_filename,[source_filename] The source_filename parameter is optional if it is the same
as destination_filename.
copyfile_list_section
flags
The numeric value that specifies an action to be done
while copying files. The following table shows values
supported by Windows CE.
Flag
Value
Description
COPYFLG_WARN_IF_SKIP
0x00000001
Warn user if skipping a file is attempted after error.
COPYFLG_NOSKIP
0x00000002
Do not allow a user to skip copying a file.
COPYFLG_NO_OVERWRITE
0x00000010
Do not overwrite files in destination directory.
COPYFLG_REPLACEONLY
0x00000400
Copy the source file to the destination directory only if the
file is already in the destination directory.
CE_COPYFLG_NO_DATE_DIALOG 0x20000000
Do not copy files if the target file is newer.
CE_COPYFLG_NODATECHECK
0x40000000
Ignore date while overwriting the target file.
CE_COPYFLG_SHARED
0x80000000
Create a reference when a shared .dll is counted.
Required?
No
add_registry_section
registry_root_string String that specifies the registry root location. The following list shows the
values supported by Windows CE.
• HKCR Same as HKEY_CLASSES_ROOT
• HKCU Same as HKEY_CURRENT_USER
• HKLM Same as HKEY_LOCAL_MACHINE
add_registry_section
value_name
Registry value name. If empty, the “default” registry value name is used.
add_registry_section
flags
Numeric value that specifies information about the registry key. The
following table shows the values that are supported by Window CE.