Regmerge And Copyfiles; Regmerge.dll; Copyfiles - Motorola MK1250-0N0DAKBNTWR - Symbol Micro Kiosk MK 1250 Product Reference Manual

Microkiosk for ce .net 4.2
Table of Contents

Advertisement

7 - 6
MK1200 MicroKiosk for CE .NET 4.2 Product Reference Guide

RegMerge and CopyFiles

RegMerge and CopyFiles are two device drivers included in the Windows CE OS to assist developers in
configuring the MK1200 following a cold boot.

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 persist between cold boots.
RegMerge looks in the root of two specific folders for .reg files in the following order:
\Platform
1.
\Application
2.
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 Platform partition folders. Take care when using Regmerge to make Registry changes. The Device
Configuration Package (DCP) for the MK1200 contains real examples of .reg files.
NOTE RegMerge only merges the .reg files during a cold boot. A warm boot skips the merge process.
Modifying registry values for drivers loaded before RegMerge is not recommended. However, these values may
require modification during software development. Since these early loading drivers read these keys before
RegMerge can change them, you must warm boot the MK1200. The warm boot does not re-initialize the registry
and the early loading driver reads the new registry values.
Do not use RegMerge to 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
Application FFS partition. These files are text files containing the source and destination for the desired files to be
copied separated by ">". Following is the content of a sample .cpy file that copies ScanSamp2.exe from the
Applications\Samples
Example:
Content of ScanSamp2.cpy
\Application\ Samples\ScanSamp2.exe > \Windows\ScanSamp2.exe
Files are copied to the Windows folder from the flash file system using copy files (*.cpy) in the following order:
\Platform
\Application
folder to the
folder.
\Windows

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mk1200

Table of Contents