PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 01-20-2009, 11:47 AM
briggs's Avatar
mcom
Offline
Pocket PC: Panther 850e, RhodiumW500, BlackBerry8220
Carrier: Telus & Rogers
Threadstarter
Location: Ontario
 
Join Date: Oct 2008
Posts: 1,041
Reputation: 3380
briggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: extract reg keys to prov xml

Quote:
Originally Posted by drunkdavid69 View Post
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
__________________
Touch Pro 2 O/C 749mHz: LEAD ROM Mar. 5 2011 6.5 Release Candidate multi carrier lite
Treo Pro ROM: Cooked my own 21911 6.5 from raiderfan's kitchen.

Last edited by briggs; 01-20-2009 at 01:04 PM.
Reply With Quote
  #12 (permalink)  
Old 01-21-2009, 04:17 PM
drunkdavid69's Avatar
Lurker
Offline
Pocket PC: HTC EVO 4G
Carrier: Sprint
 
Join Date: Jan 2008
Posts: 13
Reputation: 0
drunkdavid69 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
__________________
Hey, why not contribute to David's Hot Dog Fund?
Just click
The alleviation of my starvation is GREATLY appreciated.

Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Diamond


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:16 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com