Motorola MK3100 Product Reference Manual page 59

Mk3100 microkiosk for windows embedded compact 7
Table of Contents

Advertisement

RegMerge.dll
RegMerge.dll is a built-in driver that allows making registry edits 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 looks 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 it checks all folders. 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 contains
examples of .reg files.
NOTE Regmerge only merges the .reg files on cold boots. A warm boot skips the merge process.
Typically, you would not modify the registry values for drivers loaded before RegMerge, although this may be
necessary during software development. Since these early loading drivers read these keys before RegMerge
can change them, you must cold boot the MK3100. 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 not predictable.
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, then the Application FFS partitions. These files are text files containing the source and destination for
the desired files to copy, separated by ">". The demo application partition included in the DCP contains the
following example from the file application.cpy. Alternatively, obtain this from the Motorola Solutions Support
web site at http://www.motorolasolutions.com/support.
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.
Application Deployment 5 - 17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents