[Touch Pro2, Tilt 2 Windows Mobile ROM Development] JVH3:
Joe Bleau Action screen cab analysis - why power button doesn't work

I have just analyzed the cab to find the reason.

<wap-provisioningdoc>
<characteristic type="Install">
<parm name="InstallPhase" value="install" />
<parm name="AppName" value="BT73 Action Screen_Cleaned_Joe_Bleau" />
<parm name="InstallDir" value="\Windows\ActionScreen" translation="install" />
<parm name="NumDirs" value="3" />
<parm name="NumFiles" value="34" />
<parm name="NumRegKeys" value="14" />
<parm name="NumRegVals" value="139" />
<parm name="NumShortcuts" value="0" />
</characteristic>
<characteristic type="FileOperation">
<characteristic type="%CE2%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="ASSetting.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="ASSETT~1.001" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="ASSetting.exe.0409.mui" translation="install">
<characteristic type="Extract">
<parm name="Source" value="ASSETT~1.002" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="HTCActionScreen.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="HTCACT~1.004" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="HTCActionScreen.exe.0407.mui" translation="install">
<characteristic type="Extract">
<parm name="Source" value="HTCACT~1.005" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="HTCActionScreen.lnk" translation="install">
<characteristic type="Extract">
<parm name="Source" value="HTCACT~1.006" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="PowerOff_Warning.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="POWERO~1.011" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
[B][COLOR=red]<characteristic type="PowerOffWarning.exe" translation="install">[/COLOR][/B]
<characteristic type="Extract">
<parm name="Source" value="POWERO~1.012" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="PowerOff_Warning.lnk" translation="install">
<characteristic type="Extract">
<parm name="Source" value="POWERO~1.013" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="PowerOff_Warning.exe.041D.MUI" translation="install">
<characteristic type="Extract">
<parm name="Source" value="POWERO~1.014" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="VJTargetlnk.lnk" translation="install">
<characteristic type="Extract">
<parm name="Source" value="VJTARG~1.015" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="PowerOFF.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="POWEROFF.016" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="PowerOFFlnk.lnk" translation="install">
<characteristic type="Extract">
<parm name="Source" value="POWERO~1.017" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Reset.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="000RESET.018" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="ASSetting.exe.041D.mui" translation="install">
<characteristic type="Extract">
<parm name="Source" value="ASSETT~1.019" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE2%\ActionScreen" translation="install">
<characteristic type="MakeDir" />
<characteristic type="MMSLauncher.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="MMSLAU~1.003" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Wifi_ON-OFF.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="WIFI_O~1.007" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="OpenNETCF.Windows.Forms.SmartphoneDialogs.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="OPENNE~1.008" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="vsd_setup.dll" translation="install">
<characteristic type="Extract">
<parm name="Source" value="VSD_SE~1.009" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="togglebth.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="TOGGLE~1.020" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="AL_Bkgd.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="0AL_BKGD.021" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="SMS_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="SMS_PR~1.022" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Task_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="TASK_P~1.023" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="WiFi_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="WIFI_P~1.024" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Appointment_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="APPOIN~1.025" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="BT_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="BT_PRESS.026" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Contact_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="CONTAC~1.027" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Mail_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="MAIL_P~1.028" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="MMS_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="MMS_PR~1.029" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Note_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="NOTE_P~1.030" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="AS_Bkgd_1.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="0CABDB7E.031" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Camera_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="0CAB9867.032" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="GPS_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="0CABFC58.033" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
<characteristic type="Shutdown_Press.brn" translation="install">
<characteristic type="Extract">
<parm name="Source" value="0CABA9E6.034" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%InstallDir%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="MMSLauncher.exe" translation="install">
<characteristic type="Extract">
<parm name="Source" value="MMSLAU~1.010" />
<parm name="WarnIfSkip" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
<characteristic type="Registry">
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen">
<parm name="BaseImage" value="%InstallDir%\AS_Bkgd_1.brn" datatype="string" translation="install" />
<parm name="Column" value="3" datatype="integer" />
<parm name="Row" value="4" datatype="integer" />
<parm name="Check" value="1" datatype="integer" />
<parm name="BackGroundDir" value="%InstallDir%" datatype="string" translation="install" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_1">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\windows\tmail.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="179" datatype="integer" />
<parm name="yPos" value="64" datatype="integer" />
<parm name="Param" value="-service "SMS" -to """ datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\SMS_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_0">
<parm name="Name" value="" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="xPos" value="24" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="Param" value="-service" datatype="string" />
<parm name="IconPath" value="\Windows\AS_01.brn" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="yPos" value="64" datatype="integer" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Mail_Press.brn" datatype="string" />
<parm name="Path" value="\windows\tmail.exe" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_2">
<parm name="Name" value="" datatype="string" />
<parm name="Type" value="0" datatype="integer" />
<parm name="Height" value="120" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\MMS_Press.brn" datatype="string" />
<parm name="IconPath" value="\Windows\AS_06.brn" datatype="string" />
<parm name="Path" value="%InstallDir%\MMSLauncher.exe" datatype="string" translation="install" />
<parm name="Width" value="160" datatype="integer" />
<parm name="Param" value="" datatype="string" />
<parm name="xPos" value="334" datatype="integer" />
<parm name="yPos" value="64" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_3">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\windows\poutlook.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="24" datatype="integer" />
<parm name="yPos" value="249" datatype="integer" />
<parm name="Param" value="calendar -new" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Appointment_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_4">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\windows\poutlook.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="179" datatype="integer" />
<parm name="yPos" value="249" datatype="integer" />
<parm name="Param" value="tasks -new" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\task_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_5">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\windows\OneNoteMobile.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="334" datatype="integer" />
<parm name="yPos" value="249" datatype="integer" />
<parm name="Param" value="-n" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Note_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_6">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\windows\poutlook.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="24" datatype="integer" />
<parm name="yPos" value="434" datatype="integer" />
<parm name="Param" value="contacts -new" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Contact_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_7">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\Windows\WiFiNetwork.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="179" datatype="integer" />
<parm name="yPos" value="434" datatype="integer" />
<parm name="Param" value="" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\WiFi_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_8">
<parm name="Name" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\Windows\BTManager.exe" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
<parm name="xPos" value="334" datatype="integer" />
<parm name="yPos" value="434" datatype="integer" />
<parm name="Param" value="" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\BT_Press.brn" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_9">
<parm name="Type" value="0" datatype="integer" />
<parm name="Height" value="120" datatype="integer" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Camera_Press.brn" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="Path" value="\Windows\Camera.exe" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="Param" value="/i" datatype="string" />
<parm name="xPos" value="24" datatype="integer" />
<parm name="yPos" value="619" datatype="integer" />
<parm name="Name" value="" datatype="string" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_10">
<parm name="Name" value="" datatype="string" />
<parm name="yPos" value="619" datatype="integer" />
<parm name="xPos" value="179" datatype="integer" />
<parm name="Param" value="/v" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="Path" value="\Windows\Camera.exe" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\GPS_Press.brn" datatype="string" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Biotouch\ActionScreen\APP_11">
<parm name="Name" value="" datatype="string" />
<parm name="yPos" value="619" datatype="integer" />
<parm name="xPos" value="334" datatype="integer" />
<parm name="Param" value="" datatype="string" />
<parm name="Width" value="160" datatype="integer" />
<parm name="Path" value="\Windows\cecmd.exe" datatype="string" />
<parm name="IconPath" value="\Windows\AS_02.brn" datatype="string" />
<parm name="IconPressPath" value="\Windows\ActionScreen\Shutdown_Press.brn" datatype="string" />
<parm name="IconSelectPath" value="" datatype="string" />
<parm name="Height" value="120" datatype="integer" />
<parm name="Type" value="0" datatype="integer" />
</characteristic>
<characteristic type="HKLM\Software\HTC\Manila">
<parm name="HomeLSKPath" value="windows\HTCActionscreen.exe" datatype="string" />
<parm name="HomeLSKText" value="Action" datatype="string" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

It replaces PowerOffWarning.exe in the Windows Folder.

If you use TotalCommander to delete PowerOffWarning.exe from your Windows folder, the ROM version will be restored.

But then I am not sure if the Action button will launch.

But that is the why.

Note: PowerOffWarning.exe is the app for Quick Shutdown.