Build your own set of registry tweaks (Revisited)

orkrust's picture
Submitted by orkrust on Tue, 09/05/2006 - 15:42. HTC Wizard Web | Online Services | Tweaking | Windows Mobile 5

I figured it was about time for a status update on this.

The concept is that HTCWizardWeb would maintain a central repository of registry tweaks for the HTCWizard and then users could select several and download a CAB file which would automatically import those settings into their registry.

Project Status

Currently Done:

  • a basic webpage (it's ugly) which can insert XML into a database based on registry tweak information. (Read: you give basic registry info and it makes XML and puts it in a DB.)
  • a php page that dynamically creates installable CAB files given the proper XML input.
  • the beginnings of an admin page for approvals.

Whats left:

  • add created_by_user to form that inserts XML into unapproved status.
  • finish the approval page
    • include created_by_user in display of unapproved tweaks
    • include a test link to test tweaks individually without approving them.
    • finish the database updates to allow approval to work.
    • finish the database updates to allow delete to work.
  • create user tweak_group admin page
  • create tweak to tweak_group assignment page.
  • create tweak_group download page.
  • Make the whole thing pretty
  • Wrap the thing in a Drupal module to get access to it's userids and integrate it into the site.

I feel like i'm missing some stuff from this TODO list, but I'll add to it later when i get a better idea of what's left.

The important thing is the hard work is done. It MAKES the XML puts it in a cab file, allows you to download it, AND can store XML in the DB. Now it's just a few database inserts, updates, deletes, and selects left. (plus the "make it pretty" part and the "make a Drupal module" part.)

Project Info

The general idea was:

  1. registry edits are irritating to perform manually
  2. cab files are easy to install
  3. cab files can be placed in the Extended ROM for restoration on Hard Reset
  4. I shouldn't have to install LOTS of cab files to install multiple registry tweaks
  5. We shouldn't have to store the cab files on the server for any long period of time - i.e. they should be dynamically created

The point was then raised that it would be nice to be able to track which ones you had installed already from the site.

We added the idea of user level groupings (so you could have more than one different sets of registry tweaks you could easily apply.)

Credits

This idea started in a blog post Stanley made here.

clafarge recommended that tweaks be verified before being available to the public. (He also suggested a better design for the tweak groups database structure.)

Rudy pointed me in the right direction for the dynamic building of the XML that goes in the CAB file.

CAB creation done by the PERL version of LCAB.

If i missed anybody please let me know.

--
-orkrust (Cingular 8125 - See Profile)



clafarge's picture
Submitted by clafarge on Tue, 09/05/2006 - 21:11.

Wow... you've been busy! We really appreciate all the work on this.

--
Chad LaFarge

pinggers's picture
Submitted by pinggers on Wed, 10/05/2006 - 01:56.

Very cool! Thanks for all the hard work and for the progress update. Looking forward to it.

--


JonTheNiceGuy's picture
Submitted by JonTheNiceGuy on Wed, 10/05/2006 - 15:45.

If I can see the code, I'd be glad to help out... If you want me to, drop me a private message...

Rgds,

Jon

--
Jon "The Nice Guy" Spriggs

flskgrd's picture
Submitted by flskgrd on Thu, 20/07/2006 - 02:23.

great job looking forward to this will make life a lot easyier

--


reddwarfcro's picture
Submitted by reddwarfcro on Tue, 20/02/2007 - 15:10.

haj what is status now of this??

--


tsugaguy's picture
Submitted by tsugaguy on Sun, 09/11/2008 - 08:39.

if there as an easy way to deploy minor registry changes, it would be easy then to have multiple user profiles on the device. For example, I have 2 gmail accounts I use for different things, and each has its own google groups, google sites, and blogger accounts associated with its google user ID.

I stumbled onto this a while back:
\Windows\Profiles\ has a default guest account (which is odd to have a "profile" at all since the system doesn't exactly give you a choice) - until now!

a guest profile... Hmmmm.. to test the theory, I reproduced the folder structure to create another account next to it, then searched the registry and found where to set it: HKCU Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders ! :-)

there are 3 keys - cache, cookies, & history. cool stuff to be able to have multiple users for in some cases!

now all I need is a quick way to execute 3 or so lines of code to make the switch. I've never programmed for windows mobile before, or much of anything besides basic, database code, vb, and html. How would I get started?

If a CAB is necessary, I'd probably mark it read-only so it wouldn't disappear each time after executing it. But a .bat file would be nice - is there anything like that for windows mobile? or how can I make a .exe?

thanks

--
Alrighty then.