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:
1.
\Platform
2.
\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 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.
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
folder to the
\Windows
folder.
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
NOTE
RegMerge only merges the .reg files during a cold boot. A warm boot skips the merge process.
Содержание MK1200
Страница 1: ...MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 2: ......
Страница 3: ...MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide 72E 87924 02 Revision A January 2008 ...
Страница 6: ...iv MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 13: ...Table of Contents xi Quick Startup Instructions ...
Страница 14: ...xii MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 18: ...xvi MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 30: ...1 12 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 100: ...4 28 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 104: ...5 4 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 120: ...6 16 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 148: ...8 4 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 150: ...A 2 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 168: ...B 18 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 175: ...Web Kiosk Software Suite Bar Codes D 3 Glue Stick Transparent Tape 0 71709 00166 7 0 51131 77138 3 ...
Страница 176: ...D 4 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide Standard Staples Tylenol 0 74711 35440 0 3 00450 44909 2 ...
Страница 177: ...Web Kiosk Software Suite Bar Codes D 5 Rolaids Color Printer Ink Cartridge 3 12546 65021 3 7 34646 89800 3 ...
Страница 188: ...E 10 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 200: ...F 12 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 208: ...G 8 MK1200 MicroKiosk for CE NET 4 2 Product Reference Guide ...
Страница 230: ......
Страница 231: ......