Application Deployment for Windows Mobile
6 - 5
RegMerge
RegMerge.dll is a built-in driver that allows updating the registry during a clean boot. RegMerge runs very early in
the boot process and looks for registry files (.reg files) in certain Flash File System folders (i.e., \Application) during
a clean boot. It then merges the registry changes into the system registry located in RAM.
The following example uses RegMerge to set a registry key:
SampleReg.reg
[HKEY_LOCAL_MACHINE\Hardware\DeviceMap\Backlight]
“BacklightIntensity”=dword:00000036
The following example uses XML provisioning to perform the same task:
SampleReg.xml
<wap-provisioningdoc>
<characteristic type= “Registry”>
<characteristic type= “HKLM\Hardware\DeviceMap\Backlight”>
<parm name= “BacklightIntensity” value= “54” datatype= “integer” />
</characteristic>
</characteristic>
</wap-provisioningdoc>
CopyFiles
CopyFiles copies files from one folder to another on a clean boot. During a clean boot CopyFiles looks for files with
a .CPY extension in the root of the Application FFS partition. These files are text files containing the source and
destination for the desired files to copy, separated by “>”.
The following example uses CopyFiles to copy a file from the \Application folder to the \Windows folder:
SampleCpy.cpy
\Application\example.txt > \Windows\example.txt
The following example uses XML provisioning to perform the same task:
Summary of Contents for MC9190-G
Page 1: ...MC9190 G Integrator Guide ...
Page 2: ......
Page 3: ...MC9190 G Integrator Guide 72E 140937 01 Rev A February 2011 ...
Page 6: ...iv MC9190 G Integrator Guide ...
Page 14: ...xii MC9190 G Integrator Guide ...
Page 66: ...2 42 MC9190 G Integrator Guide ...
Page 80: ...4 6 MC9190 G Integrator Guide ...
Page 114: ...7 6 MC9190 G Integrator Guide ...
Page 152: ...A 24 MC9190 G Integrator Guide ...
Page 176: ...C 6 MC9190 G Integrator Guide ...
Page 184: ...Glossary 8 MC9190 G Integrator Guide ...
Page 189: ......