I have created several reg files for things like "GPRS always on" (or off), BT headset always on fix, system fonts, date in taskbar, etc etc.
Currently, after a hard reset, or if I want to switch a reg setting, I have to open TRE and import the reg file. Is there a way I can run the reg file and have it automatically add to the registry. ie on Windows XP .reg files can be double clicked.
Thanks in advance...
In XP you can doubleclick on a .reg file because they are associated with the app "c:\%windir%\system32\regedit.exe"
This application imports the file into the registry.
Windows XP must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
WM2005 must have a registry editor that supports importing files to import .reg files. And associate .reg files with this application.
All you need is to find (or create) is an application that can be associated with .reg files, and imports them to the registry..
Good luck with that!
TRE has a setting under 'options' that assosiates it with .reg files. Clicking a reg file now imports it. Let's start uploading our reg tweaks!
I've been working on Registry files for WM5.0, and got to some conclusions, that I'd like your confirmation for:
1) PHM Registry Editor last version (v0.70), doesn't support import of .reg files!?
At least, I never was able to see this option enabled at menus.
In alternative, I've been importing .reg files with Resco Registry
2) .reg files only support Unicode textformat. ASCII format is not imported, at least with Resco!?
3) .reg files for WM5.0, does not support line comments!?
Everything after a ';' seems to be ignored.
Did I took the right conclusions?
WinCE CAB Manager correctly handles all topics above transparently (Unicode; ascii; comments), when importing .reg files.
Guys, I was just asked how to prepare a cab file containing registry settings, to save you having to configure your registry manually each hard reset.
Anyway, the process is (relatively) easy!
Purists and coders would generally do this by writing your own installer cab. For this route, follow this thread and engage brain to OverDrive!
http://www.pocketpcdn.com/articles/setupdll.html
However, the easiest way is to grab a copy of WinCE cab manager.
Install that app. Find any existing cab that you've used to install an app before. Load it into CabMan. Using the interface, remove all existing files and registry settings etc. Set your own Cab name, company name etc in the settings.
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Save each exported tree as eg 1.reg, 2. reg, etc.
Then, copy them onto your pc, open each file in notepad and copy and paste the contents of each into 1 large file, eg RegCompiled.reg. (You don't need to do this step, but for your own reference you may want them all in one place)
Then, import that into CabMan. Now, it may not work - I think you need to have a valid reg file, which is basicaly the same thing you've already got, but with a first line header saying:
"Windows Registry Editor Version 5.00"
No speech marks.
Grab this line for yourself by exporting something from your pc's registry using RegEdit, then load into notepad and grab the first line.
Ok, CabMan should now show the number of imported registry entries on the tree on the left.
That's it! Save, and then run on your PDA.
Try a test run first before relying on it for life and death!
V
vijay555 said:
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Click to expand...
Click to collapse
I'm using for this purpose two regeditors - both freeware:
PHM registry editor [Philippe Majerus] v0.70 - for its search feature
TRE registry editor [TascalSoft] v0.90 - for import/export and ability to edit MULTI_SZ values.
There is one great utility: SSnap
Run SSnap before and after installation and compare files. Use any diff program or [my choose, but comercial] UltraEdit
baniaczek: thanks for the alternatives.
PHM is very good, but unfortunately at least in the previous versions, the export wasn't very helpful.
A good reg editor is a fairly essential tool, so use what you get on best with!
V
I have a question, is there anyway to make it so that the cab will also delete a registry key on the phone? any help would be appreciated. thanks.
vijay555 said:
Guys, I was just asked how to prepare a cab file containing registry settings, to save you having to configure your registry manually each hard reset.
Anyway, the process is (relatively) easy!
Purists and coders would generally do this by writing your own installer cab. For this route, follow this thread and engage brain to OverDrive!
http://www.pocketpcdn.com/articles/setupdll.html
However, the easiest way is to grab a copy of WinCE cab manager.
Install that app. Find any existing cab that you've used to install an app before. Load it into CabMan. Using the interface, remove all existing files and registry settings etc. Set your own Cab name, company name etc in the settings.
Then, you'll see on the file menu, there's an option to import a .reg file.
So: export all the registry settings you want to rebuild from your PDA, using a good registry editor. I recommend Kilmist Registry Editor .
Save each exported tree as eg 1.reg, 2. reg, etc.
Then, copy them onto your pc, open each file in notepad and copy and paste the contents of each into 1 large file, eg RegCompiled.reg. (You don't need to do this step, but for your own reference you may want them all in one place)
Then, import that into CabMan. Now, it may not work - I think you need to have a valid reg file, which is basicaly the same thing you've already got, but with a first line header saying:
"Windows Registry Editor Version 5.00"
No speech marks.
Grab this line for yourself by exporting something from your pc's registry using RegEdit, then load into notepad and grab the first line.
Ok, CabMan should now show the number of imported registry entries on the tree on the left.
That's it! Save, and then run on your PDA.
Try a test run first before relying on it for life and death!
V
Click to expand...
Click to collapse
4 reg hacks u can also use my way and i think it is a lot faster
http://forum.xda-developers.com/showthread.php?t=547339
btw i cannot upload the ppt file 2 xda (dont know way it is only 3m) if someone can it will be great
tnx
The WinCE CAB Manager is the ultimate utility for developers of applications designed for the Windows CE operating system. But it's not freeware!
You might build the CAB online: http://www.supware.net/CabGen/
Hi Guys,
There are quite a few Registry hacks listed on this site, could someone develop a simple program that could read xml files in a directory and present them in an orderly manner, like HTweakC does...
Package the registry tweaks into a simple xml file that the program could read.
For example:
Menu Structure, ie Security, Today, Bluetooth
Title,
Description,
Registry Tweak.
On Program startup the program could read the xml files in a specified folder and order the tweaks according to the Menu Structure in the xml file.
And while you're at it an undo option wouldnt go amiss either.
Each change could be saved to an undo folder... or something.
Unicode Registry File
It's used for creating registry keys automatically during installation of an OEM package.
You can find an example here. (Wiki)