[Windows Mobile Development and Hacking General] geistteufel:
Hi, after looking for long time on this forum and on google, I'm stuck

I'm looking a way, with tools MAKECAB, to create an autoinstall file with registry tweak.

The goal is to purpose an addons for TF3D Config, and auto apply all tweaks during installation process.

So

I already have this :

<wap-provisioningdoc>

<characteristic type="Registry">
<characteristic type="HKLM\System\GDI\GLYPHCACHE">
<parm name="limit" value="131072" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="BattResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P6">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P8">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P9">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Phone">
<parm name="Vol" value="34952" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockEnable" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockTimeout" value="5" datatype="integer" />
</characteristic>
</characteristic>

</wap-provisioningdoc>

I just want to copy a file name tweaks_custom.xml to TF3D Install directory

Here my try :

<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="OSVersionMin" value="4.0" />
<parm name="OSVersionMax" value="6.99" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="AppName" value="Celogeek TF3D Custom Tweaks" />
<parm name="InstallDir" value="%CE1%\Diamond TF3D Config" translation="install" />
<parm name="NumDirs" value="1" />
<parm name="NumFiles" value="1" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="14" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE1%\Diamond TF3D Config" translation="install">
<characteristic type="MakeDir" />
<characteristic type="tweaks_custom.xml" translation="install">
<characteristic type="Extract">
<parm name="Source" value="ctweaks.001" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\System\GDI\GLYPHCACHE">
<parm name="limit" value="131072" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class">
<parm name="DisablePowerManagement" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="ACResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\Timeouts">
<parm name="BattResumingSuspendTimeout" value="90" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P6">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P8">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Camera\P9">
<parm name="Enable" value="1" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\Phone">
<parm name="Vol" value="34952" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockEnable" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="AutoDeviceLockTimeout" value="5" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

How can I pack it to a cab, and make it work ?