PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Diamond (http://forum.ppcgeeks.com/forumdisplay.php?f=66)
-   -   extract reg keys to prov xml (http://forum.ppcgeeks.com/showthread.php?t=53890)

briggs 01-20-2009 11:47 AM

Re: extract reg keys to prov xml
 
Quote:

Originally Posted by drunkdavid69 (Post 653370)
Well, I'm kind of a noob to posting here but I understand most of the in's and out's of these phones and I've written a little program that does exactly what you need. I call it SimpleScript. I modeled it after the SDConfig.txt commands so I could use it to create scripts similar to that or even run that one later after UC was done. That way if I changed my XML registry backups, I could reprovision them. On the side, I wrote my own Registry2XML (not to be confused with REG2XML) and XML2Registry programs. I then combined these 3 and started adding my own commands and functionality. Still working on it a little, but I use it like crazy. Currently adding functionality and learning C++ to translate it from VB.NET to C++ for speed. Basically, it has the following functionality:

-Input XML file, it will provision "Registry" and "FileOperation" sections (still working on FileOperation a little, but Registry works perfectly.)
-Input Registry Key (ex. HKCU\Software\Microsoft), it exports the entire key to XML file (ex. Microsoft.XML)
-Input any other file, it will attempt to read it looking for certain config commands (similar to those used in SDConfig.txt)

Functionality I might add:
-Convert REG or RGU to XML (I just want to convert these to XML. Then if I want them in the registry, I'll input the XML to my program. I could then write a script that would combine those two actions.)

There is no GUI. This is command-line only. The really cool thing I added is the ability to input multiple commands on the command line. For example:
SimpleScript.exe HKCU\Software\Microsoft HKCU\Software\a_c, HKLM\System S2U2.XML, Script.txt

There are a LOT of other really nifty little features I added, but I'll leave it to you the community to decide if you're interested. Just e-mail or PM me with questions/comments/requests/ideas/etc.

Also, if anyone has any ideas on how to provision a EMAIL2 section, please lead me in the right direction. That particular functionality will hopefully be added when I get more time to research it.

Thanks

If anyone has any ideas

nice. i'm mobile right now but will point you to some threads when i get back to my office check this afternoon

[EDIT]
http://forum.ppcgeeks.com/showthread.php?t=45674 here is a post with some stuff on e-mail and prov xml

drunkdavid69 01-21-2009 04:17 PM

Re: extract reg keys to prov xml
 
I've read through that stuff. It helps on the reading side. But I'm looking for more how to write to the PPC databases using VB or C++. I think I may have to find some way to hook into Pocket Outlook programmatically. Still lookin to do a little research. Shouldn't be THAT hard, though. But thanks for the reply.

Thanks,
David


All times are GMT -4. The time now is 10:32 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0