PDA

View Full Version : Delete reg key with batchfile?


Sterke-Jerke
17th June 2009, 09:19 PM
I do a lot of "upgrading" on my HTC Wizard. And was wondering......

After the upgrade I always have to:
- execute a program
- remove a regkey
- Install a certifacate
- Install a second program

Can I somehow make a batchfile for this?
If not can I create a file that is capable of deleting a reg-key?

adwinp
17th June 2009, 11:53 PM
Easy to do with mortscript:

RegWriteString ("HKLM", "\Software\blablabla","your_string", your_string_value)
RegWriteDword("HKLM","Software\blablabla","your_dword","0")


or with a provxml?
you can remove regs with
noparm and nocharacteristic