Motorola MC65 Especificaciones Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 130
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
Application Deployment 4 - 7
2. In the Windows Mobile 6 tools directory on the desktop computer (typically \Program Files\Windows CE
Tools\wce500\Windows Mobile 6 Pocket PC SDK\Tools), run the Makecab.exe utility, using the following
syntax to create a .cpf file from the _setup.xml file:
MakeCab.exe /D COMPRESS=OFF _setup.xml myOutCpf
3. Optionally, use the Authenticode tools to sign the .cpf file.
4. Tap the filename to install.
5. Certain applications and settings require a reset to take affect. In these cases, reset the MC65. Refer to the
Windows Mobile Version 6 Help file for more information.
XML Provisioning vs. RegMerge and Copy File
Prior to Windows Mobile 5.0, Motorola used two drivers (RegMerge and CopyFiles) to update the registry and
to copy files during a reset. With Windows Mobile 6, Motorola recommends using XML provisioning instead.
RegMerge and CopyFiles are supported for backward compatibility but Motorola may eliminate support in the
future. The following sections provide examples of how RegMerge and CopyFiles were used, and how to
perform the same function using XML provisioning.
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:
NOTE COMPRESS=OFF is required for backward compatibility with Pocket PC.
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 129 130

Comentarios a estos manuales

Sin comentarios