One of the handiest ways to manage the Windows Mobile registry entries is via PROVXML files. These files, when properly formed, can easily be inserted into an installable cab file and added to your SDAUTORUN.TXT file to be run as part of User Configuration.
Handling Internet Favorites.
We learned how to delete our Internet Favorites in this thread:
http://forum.ppcgeeks.com/showthread.php?p=614622
Now, we need to insert our own list of Internet Favorites.
As is the case with deleting items, you can insert your list of Internet Favorites with PROVXML formed in the following manner:
Code:
<?xml version="1.0" encoding="utf-8"?>
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\PPCGeeks - User Control Panel" translation="filesystem">
<parm name="Icon" datatype="string" value="\windows\iexplore.exe, 0" translation="filesystem" />
<parm name="URL" datatype="string" value="http://forum.ppcgeeks.com/usercp.php" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\XDA - User Control Panel" translation="filesystem">
<parm name="Icon" datatype="string" value="\windows\iexplore.exe, 0" translation="filesystem" />
<parm name="URL" datatype="string" value="http://forum.xda-developers.com/usercp.php" />
</characteristic>
<characteristic type="HKCU\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\PPCKitchen - User Control Panel" translation="filesystem">
<parm name="Icon" datatype="string" value="\windows\iexplore.exe, 0" translation="filesystem" />
<parm name="URL" datatype="string" value="http://www.ppckitchen.org/forums/usercp.php" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Save this PROVXML as a text file named “_setup.xml”.
Insert this into an installable cab file via windows MAKECAB.EXE.
Code:
C:\>MAKECAB.EXE _setup.xml reg_CreateInternetFavs.cab
Install the CAB on your PPC and you will have populated the internet favorites of your choice.
Best regards,
-boggsie