Create a single cab out of multiple reg entries - Windows Mobile Development and Hacking General

Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!

the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
google ceregeditor. It will turn registry entries into a cab for you.

mwalt2 said:
google ceregeditor. It will turn registry entries into a cab for you.
Click to expand...
Click to collapse
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?

the7thson said:
Yes I actually am using ceregeditor. I can turn a single reg entry into a cab but I'm not sure how I can make a collection of regedits in to one cab file using that software. Could you point me in the right direction?
Click to expand...
Click to collapse
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc

mwalt2 said:
Just place your regedits in a text file and save it as something like filename.reg. Then open the reg file with ceregeditor and use the convert to cab option. Make sure your reg file is in the proper format (like what you get if you export the registry keys).
So:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
etc
etc
Click to expand...
Click to collapse
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.

the7thson said:
Excellent, thank you!! I will try this out tonight.
Also - is there any way I can DELETE any existing reg entries using this method?
And then I assume I can create new entries using this method also?
Thanks again.
Click to expand...
Click to collapse
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver

FInixNOver said:
I'm not sure about using this in a cab, but using .reg files, is possible to delete Keys(including SubKeys and Values) or just a specific Value from a Key.
Consider the following registry entry as an example:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
To delete a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][B][[COLOR=red]-[/COLOR]HKEY_LOCAL_MACHINE\ControlPanel\Pen][/B][/COLOR]
To delete a Value from a Key create a reg file with the following:
Code:
REGEDIT4
[COLOR=seagreen][HKEY_LOCAL_MACHINE\ControlPanel\Pen][/COLOR]
[B][COLOR=royalblue]"Hide"=[/COLOR][COLOR=red]-[/COLOR][/B]
Thanks to Mr. Makk and his tutorials thread for the Value delete (I was only aware of the Key delete from analysing RGUs)
Cheers,
FInixNOver
Click to expand...
Click to collapse
Wow, thank you!!!

Is there any program that will allow multiple REG sections to all be exported to a single "file.reg" so that they can all be reloaded or converted to a CAB install file? I have multiple sections of my Registry which i would like to have in a single .REG or .CAB file but when i export each part of the REG separately then cut n paste to combine then it does not seem to re-install in to my register after a clean ROM boot.
Any ideas?

LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.

the7thson said:
Hey guys, I'd like to combine all my registry edits in to 1 single installable cab file. How can I do this? I have several regedits eg:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]"Hide"=dword:0
HKCU\ControlPanel\Keybd and change DeviceLockWhenSuspend to 0
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS and Change - CacheSize to 4096
As you can see, they are stored in my list of tweaks in plain English.. how can I make a properly formatted list of all of them and then make a cab that will install to my PPC and change all the appropriate reg entries.
Thanks in advance!
Click to expand...
Click to collapse
See my signature
Magic Tweaks is exactly what you need with alot more Regs

Ethermind said:
LOL!
Use WinCe Cab Manager.
Make New Cab, and then import all your reg's into single cab.
If you want to export all regs, just use export function.
If you want edit your entries, you can edit their right there.
Click to expand...
Click to collapse
Yeah, use wince cab manager! Just add a key to the registry or use file, import reg!
When you want to save the cab you'll get a message that you don't added any files, thats oke because a key or a value isn't a file!

Related

How To Convert *.txt File Into a *.reg Please?

How to convert *.txt file into a *.reg please?
Tweaked a *.reg file for BlueTooth but when I use Resco Registry it just does not import.
Forgot to mention that is it possible to import without overwriting the existing settings (just adding)?
Anyone can help?
TIA
Just rename the .txt extension simply to .reg extension i.e. abc.txt rename it to abc.reg.
I think it's possible to import a registry file without overwriting the existing setting as long as they don't have the same key.
Hi
Thanks Bro but I tried that before and either Resco Registry refuse to import or when it does those keys with the same name with additional strings gets overwritten.
I want to add only.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Hey
Thanks Bro I will give it a try.
Hi [Krueger]Dr.Stein,
Change *.txt with *.reg as extension as well as
add
REGEDIT4
as the first line
example if your *.txt file is like this
Code:
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
*.reg should be
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
Then resco will gladly import
About import without overwriting the existing settings (just adding) you asked is possible, just make sure that the data you are using in reg file is not alredy present in the original registry, then the data is added otherwise it will be overwritten.
Good Job
Alrighty then.
Thanks for the valuable tip. Appreciate it.
Thanks again.

CeRegEditor NEW ver 0.0.5.2, with regular expressions

Hello,
I'd like to introduce new registry editor CeRegEditor for WindowsCE, WindowsMobile
It works on desktop PC but operates on PDA's registry.
Main features:
- keys/values create and edit
- fast search
- export/import keys to/from REG file
- create "image" registry with compare and restore service
- free for private and commercial use
- registry compare to CAB or REG files
- open REG/RGU, CAB, HV as regular registry, with all edit functions available
...and many more
link to web site: http://ceregeditor.mdsoft.pl?lang=en
link to software: http://ceregeditor.mdsoft.pl/ceregedit_setup.exe
It is still during test period, but basic features are well tested and stable
It is Polish software but with english interface
edit
If You find any error in the application or mistake in English interface please send an email to [email protected] or write it within thread
nice one! thanks!
It looks very nice! thanks
Hi!
Thanks a lot! The compare service makes it even easier to build OEM packages when kooking ROMs. Great software!
Regards,
PK
nice app.
good tool, many of cookers want to edit the registries using the PC
Nice software I have one suggestion: since this works on the desktop, one feature that would be neet was that if we install a CAB, it detects what's changed on the PPC, regarding the registry. That would be great to know what are the registry keys needed for the instalation of OEM packages!
dferreira said:
Nice software .... if we install a CAB, it detects what's changed on the PPC, regarding the registry. That would be great to know what are the registry keys needed for the instalation of OEM packages!
Click to expand...
Click to collapse
You can use compare tool embedded into CeRegEditor.
First, create registry image(Images->Create image or F2 key) and after cab instalation perform compare registry, Images->Compare registry. It will show only differences/changes between the image and the current registry
I hope this will be useful for You
Great Work
Great work, sounds cool...thanks !
Yes, very thanks so much!
NIce Progie thanx
New version 0.0.2.2
+ added UNICODE support for export/import data to/from REG file
+ fixed header in REG file. The string in header changed to REGEDIT4. Previous string was not compatible with some other registry tools (WinCE Cab Manager)
+ fixed format of path to directory/file in REG file.
...and some minor fixes
Thank you, I was using Mobile Registry Editor to edit registry directly from Desktop but your app look nice
New version 0.0.3.0 available
Some fixes and new features!
Now, compare tool handles CAB and REG files
So, it is possible to compare registry to CAB file or REG file, CAB to CAB, CAB to REG, REG to registry image, etc.
It's possible to check what changes will be made by CAB before CAB instalation
Update details: http://ceregeditor.mdsoft.pl/index.php?id=4&lang=en
Download: http://ceregeditor.mdsoft.pl/ceregedit_setup.exe
cool... I will check this out soon.
@mdziedzic, curious how you are implementig the cab compare function... are you just looking at reg entries stored in the cab? Cos sometimes the complicated ones involve self-registering dlls and setup.dll files that make reg entries also. Prime examples of this are voice command, mark all as read, and some SPB apps. For those we always have to do a reg diff before/after cab install to see what the setup.dll did (or see the self-registered dll additions).
I have been wondering if it's possible to write an app that examines a setup.dll to see what reg entries it would create. So far I don't know of any way to do that other than reg dump->install cab->reg dump->compare.
Anyway your app will be very useful! Thanks for your hard work.
congratz.
widzisz? docenią....
luv2chill said:
@mdziedzic, curious how you are implementig the cab compare function... are you just looking at reg entries stored in the cab? {...cut...}
Click to expand...
Click to collapse
Yes, I compare only reg entries stored in cab!
luv2chill said:
I have been wondering if it's possible to write an app that examines a setup.dll to see what reg entries it would create.
Click to expand...
Click to collapse
I think it is not possible! Each developer/provider creates it's individual setup.dll for CABs. Each DLL could has different structure (written in C++ or Pascal). Trying to "decode" setup.dll will be always "guessig"!
luv2chill said:
So far I don't know of any way to do that other than reg dump->install cab->reg dump->compare.
Click to expand...
Click to collapse
IMO, for CABs with setup.dll or exe instalators it's the best metod. In CeRegEditor, just create registry image (F2)-> do instalations-> compare registry with image(F3). After compare You can save differences to REG file
luv2chill said:
Anyway your app will be very useful! Thanks for your hard work.
Click to expand...
Click to collapse
Great
New version 0.0.3.1 available
http://ceregeditor.mdsoft.pl/ceregedit_setup.exe
Updates:
- fix in CAB-> REG conversion
great looking ap...
I particularly like the little status monitor...nice touch.
It would be great if you could also map registry files from a dumped rom. This way you could easily extract registry settings from other phones without the need of the actual device. At this moment you still need the phone.
is this possible

REG Problem!

Hi there!
I'm having a problem with a reg file I would like to apply to my Touch HD.
I got installed the "PHM RegEdit" application and if I click the reg file, the application launches and I can not apply the changes.
If I uninstall "PHM RegEdit", I click on the reg file again and the device says that there is no application for such a file.
What can I do?
Greetings!
reg files is just text files you can open it in a text editor and
create or alter the registrys manualy to fit what the reg file include
Thanks for the answer.
I know that, but this reg file has many value changes, it would be better if I can apply it automatically.
Please! Anyone?
Is there another application to apply this reg files?
PHM RegEdit doesn't seem to work.
Greetings!
FdcSoft TaskManager by dotfred
simply post your regfile or copy/paste it here so that we can have a look at it

Exe file for change the value os a registry entry?

Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?
Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0
Thanks.
You can create a cab file for this.
Byrkoff said:
Is it possible to create an exe file, that when run on the PPC (Blackstone with WM6.1), change the value of a registry entry?
Is for change the value HKCU\Software\Microsoft\Activesync\KeepAlive from 1 to 0
Thanks.
Click to expand...
Click to collapse
dotfred's taskmanager for importing reg files (containing a set of registry keys
registrysetstring for setting just a single registry key
mortscript
egoist6 said:
dotfred's taskmanager for importing reg files (containing a set of registry keys
registrysetstring for setting just a single registry key
mortscript
Click to expand...
Click to collapse
RegistrySetString is perfect to change any string-value, but I want to change an integer-value (Base decimal). Help, please.
come on. show more enthusiasm and check the other websites...
if you use taskmgr:
create a reg-file "myvalue.reg":
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Activesync]
"KeepAlive"=dword:00000000
and import the reg file:
Code:
taskmgr.exe myvalue.reg
if you use morstscript:
Code:
RegWriteDWord("HKCU", "Software\Microsoft\Activesync", "KeepAlive", "0")
Here is a code i published while ago.. its in C#
you can change it to your needs :
http://forum.xda-developers.com/showpost.php?p=3304680&postcount=11
Thanks. MortScript is the best.

How to create automatic reg key ?

Hello,
How can I create a automatic reg key with this values:
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Sys
Add the DWORD setting COD=5374476
And how can I make this file installable, as XML or CAB ?
I want to use this file to make the reg change when I installed a new ROM ...
I don't want to use regeditor all the time, it should be easier
Suggestions ?
Use this mate...
http://forum.xda-developers.com/showthread.php?t=400221
You can make a cab file with as many registry changes as you like and then just run that whenever you need to apply them.
Hope it helps
xivius said:
Hello,
How can I create a automatic reg key with this values:
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Sys
Add the DWORD setting COD=5374476
And how can I make this file installable, as XML or CAB ?
I want to use this file to make the reg change when I installed a new ROM ...
I don't want to use regeditor all the time, it should be easier
Suggestions ?
Click to expand...
Click to collapse
Or just install this .cab
View attachment 288037
Grtz,
Degake
degake said:
Or just install this .cab
View attachment 288037
Grtz,
Degake
Click to expand...
Click to collapse
THANKS!

Categories

Resources