Alright, I've got most of my UC to work, but there are a couple of pieces that still don't seem to want to cooperate.
1) I have the following code to set the BattSuspendTimeout and it appears to work fine if I run the .CAB file I create with it from File Explorer on the device. The problem is that when I place the .CAB file in the persistant memory and allow the device to autorun this file the BattSuspendTimeout does not get set. Do I need to set another registry entry for this to work with autorun?
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\System\CurrentControlSet\Control\Power\ Timeouts">
<parm name="BattSuspendTimeout" value="300" datatype="integer"/>
<parm name="ACSuspendTimeout" value="1800" datatype="integer"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
2) When I try and set the Work URL Exceptions the exception URL nevers gets added to the list. The .CAB file says that it installed successfully, but when I look at the Work URL Exceptions there is nothing there. I can do this programmatically throught my
VB.net code, but I would rather do this at the UC so that I don't have to worry about setup tasks in my applications code.
<wap-provisioningdoc>
<characteristic type="CM_Mappings">
<characteristic type="1000">
<parm name="pattern" value="*://*.bigsimo.com/*" />
<parm name="network" value="{18AD9FBD-F716-ACB6-FD8A-1965DB95B814}" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Any suggestions would be appreciated. It's the last couple tweaks in a long list that I've got working and they are really starting to frustrate me.