Application Deployment 7 - 21
RegMerge.dll
RegMerge.dll is a built-in driver that allows registry edits to be made to the Windows CE Registry. Regmerge.dll
runs very early in the boot process and looks for registry files (.reg files) in certain Flash File System folders during
a cold boot. It then merges the registry changes into the system registry located in RAM.
Since the registry is re-created on every cold boot from the default ROM image, the RegMerge driver is necessary
to make registry modifications persistent over cold boots.
RegMerge is configured to look in the root of two specific folders for .reg files in the following order:
\Platform
\Application
Regmerge continues to look for .reg files in these folders until all folders are checked. This allows folders later in
the list to override folders earlier in the list. This way, it is possible to override Registry changes made by the
Platforms partitions folders. Take care when using Regmerge to make Registry changes. The DCP for WT4000c50
contains examples of .reg files.
Typically, do not make modifications to registry values for drivers loaded before RegMerge. However, these values
may require modification during software development. Since these early loading drivers read these keys before
RegMerge gets a chance to change them, the wearable terminal must be cold booted. The warm boot does not
re-initialize the registry and the early loading driver reads the new registry values.
Do not use Regmerge to modify built-in driver registry values, or merge the same Registry value to two files in the
same folder, as the results are undefined.
CopyFiles
Windows CE expects certain files to be in the Windows folder, residing in volatile storage. Windows CE maintains
the System Registry in volatile storage. CopyFiles copies files from one folder to another on a cold boot. Files can
be copied from a non-volatile partition (Application or Platform) to the Windows or other volatile partition during a
cold boot. During a cold boot CopyFiles looks for files with a .CPY extension in the root of the Platform and
Application FFS partitions (Platform first and then Application). These files are text files containing the source and
destination for the desired files to be copied separated by “>”. The following example from the file application.cpy is
contained on the demo application partition included in the DCP for WT40x0c50. It can also be obtained from the
Support Central web site at
Files are copied to the Windows folder from the Flash File System using copy files (*.cpy) in the following order:
\Platform
\Application
Example:
\Application\ScanSamp2.exe>\Windows\ScanSamp2.exe
This line directs CopyFiles to copy the ScanSamp2.exe application from the \Application folder to the \Windows
folder.
NOTE
Regmerge only merges the .reg files on cold boots. The merge process is skipped during a warm boot.
Summary of Contents for WT4090
Page 1: ...WT4070 90 Wearable Terminal Integrator Guide ...
Page 2: ......
Page 3: ...WT4070 90 Wearable Terminal Integrator Guide 72E 87638 07 Rev A April 2015 ...
Page 6: ...iv WT4070 90 Wearable Terminal Integrator Guide ...
Page 14: ...xii WT4070 90 Wearable Terminal Integrator Guide ...
Page 20: ...xviii WT4070 90 Wearable Terminal Integrator Guide ...
Page 55: ...Accessories 2 25 Figure 2 25 Disconnecting Connector with Shroud Connector Eject Hole ...
Page 56: ...2 26 WT4070 90 Wearable Terminal Integrator Guide ...
Page 62: ...3 6 WT4070 90 Wearable Terminal Integrator Guide ...
Page 66: ...4 4 WT4070 90 Wearable Terminal Integrator Guide ...
Page 138: ...6 32 WT4070 90 Wearable Terminal Integrator Guide ...
Page 162: ...8 2 WT4070 90 Wearable Terminal Integrator Guide ...
Page 166: ...9 4 WT4070 90 Wearable Terminal Integrator Guide ...
Page 190: ...A 12 WT4070 90 Wearable Terminal Integrator Guide ...
Page 205: ......