How do I create a file to update the registry? - Windows Mobile Development and Hacking General

Can someone please advise of the steps I need to go through to create a file that I can run to update three registry key entries?
I need to reset these keys regularly and using Regedit each time is a pain.
I assume that I can create somesort of PPC batchfile that I can run under WM6 to make the changes each time I run it....
What's the best way of going about this?

alfiejts said:
Can someone please advise of the steps I need to go through to create a file that I can run to update three registry key entries?
I need to reset these keys regularly and using Regedit each time is a pain.
I assume that I can create somesort of PPC batchfile that I can run under WM6 to make the changes each time I run it....
What's the best way of going about this?
Click to expand...
Click to collapse
Export the keys after you have changed them to a .reg file (in total commander this is accomplished by going to the key and copying it to a dir on the phone or storage card)....save the .reg's to a dir and click on them when you want to update the registry...you need to be using dotfred's task manager and have .reg files associated for that to work.

Brilliant. Thanks famewolf.....

Related

deleting registry keys automatically within a cab file

Hello professionals ;-)
i have to delete some registry keys during an softwareinstall with a cab file.
Can anybody tell me how to make an installationfile (like *.cab ore something else) deletes some keys in the registry!
whatfor?
i want to install some programs (like pocket plus) and make some configuration during cab file installation. so i looked into the registry what changes when i configurate pocket plus.
as i noticed there where som keys changed i can overwrite with the new values BUT there are some registry keys deleted also. How get them out???
is there any way ??
Have a look at creating a custom setup.dll file to include in the cab file.
You can certainly delete registry entries using it.
I don't know about deleting registry using cab files.
I think there is only options to allow or not to replace a registry key if exists during install.
Here a good link for .cab files Cab files
Apart that you can make your own install from PC to Pocket using RAPI. With that no problem to delete keys, copy files, add new keys ...
want to delete some keys bevore install
Thank's for your tips!
Have a look at creating a custom setup.dll file to include in the cab file. You can certainly delete registry entries using it.
Click to expand...
Click to collapse
is there more information about this ?
how it works?
how to do?
as i looked at the CABFiles Website this looks very complicated to me ;-(
i am an absolute beginner in developing software!
i need an easy way to delete some regkeys during installation.
I think you can use the excellent scripting utility called nScriptM to achieve your goal. Simply run a search on this in google and you will come across a number of resources including the download location.
k_kirk said:
I think you can use the excellent scripting utility called nScriptM to achieve your goal.
Click to expand...
Click to collapse
i will try this, Thanks!

intellipad is no longer there? registry key required

was playing with the registry editor and must of changed an option some days back... and now i have no intellipad option for INPUT!
anybody out there know where this line exist?
bump!
someone know the keys to enable or disable
the keyboards/ intellidailer xpad etc etc?
...
Destroying the registry so a given functionality dies, is not the same as enabling/disabling. I doubt these programs have simple on/off switches in the registry, so instead I suggest you reinstall them.
Set a browser such as the Resco Explorer to show files in ROM, then locate and execute the file loadvdisk.exe in the Windows folder. This will give you access to the Extended_ROM folder, located in root. From there you can reinstall what you want. Names of the files you will need are selfexplanatory, the rest you can find a description on here on forum, by using the search function.

[how to] Make a CAB file to import registry settings

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/

[solved]how to dump phone register and read it?

hello fellow chefs
i am looking for a way to dump my phones register
i wanna make some changes in the rom when you flash it by default but i cant seem to find a way i can dump and then read the reg on my compuiter
when i start up my camera it isnt set to full screen and superfine mode
so i wanna dump the reg and storer it on my computer
then i wanna make the changes and dump the reg of the phone again and compare it with winmerge to see whats changed
have done alot of google yesterdya but couldnt manage to find it
i did try wince reg editor but without succes there:S
thanks in advance for any tips
miniterror said:
hello fellow chefs
i am looking for a way to dump my phones register
i wanna make some changes in the rom when you flash it by default but i cant seem to find a way i can dump and then read the reg on my compuiter
when i start up my camera it isnt set to full screen and superfine mode
so i wanna dump the reg and storer it on my computer
then i wanna make the changes and dump the reg of the phone again and compare it with winmerge to see whats changed
have done alot of google yesterdya but couldnt manage to find it
i did try wince reg editor but without succes there:S
thanks in advance for any tips
Click to expand...
Click to collapse
Have you tried with ceregeditor?
Search the forums for a tool called "Kheb" it can take full registery dumps and diffs if you want to track changes.
Stick the task manager in windows, then run the shortcut. You need this folder, otherwise the dump will go to my docs (-storage card-my backups-registry). The registry will be dumped as a text file. You can edit the path in the shortcut. The task manager has to have the correct name, or else it won't work.
48#\Windows\dF_TaskMgr.exe /regxpall \Storage Card\My Backups\Registry\Full Registry Export.txt
airxtreme said:
Have you tried with ceregeditor?
Click to expand...
Click to collapse
yep i have tried it
i wrote the name wince regeditor
thought it whas the same name
played half hour with it without succes
MusikMonk said:
Search the forums for a tool called "Kheb" it can take full registery dumps and diffs if you want to track changes.
Click to expand...
Click to collapse
thanks i will give it a shot
Farmer Ted said:
Stick the task manager in windows, then run the shortcut. You need this folder, otherwise the dump will go to my docs (-storage card-my backups-registry). The registry will be dumped as a text file. You can edit the path in the shortcut. The task manager has to have the correct name, or else it won't work.
48#\Windows\dF_TaskMgr.exe /regxpall \Storage Card\My Backups\Registry\Full Registry Export.txt
Click to expand...
Click to collapse
much appriciated
also gonna give it a try to see wich one is easier and faster to make the register dumps
Hi Miniterror,
I've dumped the full registry using Registry Workshop form the PC.
It's really easy to use and allow you to change the registry easily from the PC via Activesync.
ypsmav said:
Hi Miniterror,
I've dumped the full registry using Registry Workshop form the PC.
It's really easy to use and allow you to change the registry easily from the PC via Activesync.
Click to expand...
Click to collapse
thansk mate this one worked for me
the other i couldnt get working:s
Usefull tools/applications you need for cooking you can find in the stickies, including Registry Workshop plus Dotfred's Taskmanager.
Sous-Chef's Kitchen Utensils & Appliances Review

[SOLVED] Resco Explorer in ext package

Does anybody has Resco Explorer in ext package?
Tried to do it but i miss resco registry and resco ftp.
Thanks!!
What exactly do you want to get? I have it (selfmade).... But it's free for sure....
One more thing - I use OEM regular structure - not EXT (For OsBuilder). It's a normal package - with rgu and dsm.... Registry is a separate cab - you should add it to the package. FTP is a part of explorer - just added features.
AndrewSh said:
What exactly do you want to get? I have it (selfmade).... But it's free for sure....
One more thing - I use OEM regular structure - not EXT (For OsBuilder). It's a normal package - with rgu and dsm.... Registry is a separate cab - you should add it to the package. FTP is a part of explorer - just added features.
Click to expand...
Click to collapse
Well, in Resco site there is one cab for all the subprograms that are included in the resco 2010 8.10 version.
It is this cab I tried to convert to ext package.Everyrhing works except registry function.
Thanks anyway.
Attached is the app.reg (renamed to app.txt because of forums limitations) file that I use for Resco Explorer with FTP and Registry plugins added.
I didn't clean it up so it also contains the keys and values for the options and settings that I prefer having.
For future reference, I had the same issue as you at first then I used a tool called Kheb to monitor the registry changes that happen when I install cabs and customize everything. Kheb can also make diffs between different registry snapshots and even generate OEM packages based on such diffs.
I did apply your REG file, but Resco Registry not work yet, the problem is a SETUP.DLL in to the Resco Explorer CAB, it contains a secret instructions and I believe that is impossible to open it, anyway I saw some cooks with Resco Explorer and Registry in their ROMs, it's obvious that they know the secret.
I also want to know.....pleaseeeee
justintxu said:
I did apply your REG file, but Resco Registry not work yet, the problem is a SETUP.DLL in to the Resco Explorer CAB, it contains a secret instructions and I believe that is impossible to open it, anyway I saw some cooks with Resco Explorer and Registry in their ROMs, it's obvious that they know the secret.
I also want to know.....pleaseeeee
Click to expand...
Click to collapse
Make the package with cab to package software (there is in all kitchens) and then replace the reg and app.dat files with the ones attached and cook it.Works for me.
The idea goes to MusicMonk but his attached file doesnt work for me.
Just use Kheb like MusikMonk suggested; it will capture all of the reg keys that are installed by the setup.dll. You can also look in the setup.dll with notepad and probably see the keys that are installed.
If you're trying to backup you registration info, it's stored in a file in \windows called wmtrigger.dat. All of Resco's registration codes are stored in that file, so if you have several of their apps, that's all you need.
NIKOSXRI said:
Make the package with cab to package software (there is in all kitchens) and then replace the reg and app.dat files with the ones attached and cook it.Works for me.
The idea goes to MusicMonk but his attached file doesnt work for me.
Click to expand...
Click to collapse
I did apply your REG file but not works for me, anyway thanks for your help, mate.
I made a CAB file from the original Resco Explorer CAB, I deleted all files except SETUP.DLL and later run it and VOILA!!! the Resco Registry works !!!!!
Unfortunately I don't need it, I need the secret instructions in SETUP.DLL, I did open it using UltraEdit but I can't find nothing.
try this it should work, but your still gonna need the code as this is not cracked
Thank you, mate, but I found the secret reg keys in the setup.dll file. I used CeRegEditor to create a registry image, later install the cab with setup.dll and I created a image again, and finally I compared the first and second image to detect the differences.
I made a new reg and all works now
Thank you very much mates
fully working resco explorer package
Fixed some shortcuts added rtoday plugin, resco update, task manager that was missing and ftp in previous packages and is attached below.
Of course it needs the usual registration process.
NIKOSXRI said:
Fixed some shortcuts added rtoday plugin, resco update, task manager that was missing and ftp in previous packages and is attached below.
Of course it needs the usual registration process.
Click to expand...
Click to collapse
Have you managed to have in built registration code in it so that you dont have to feed the registration key after the installation?
c_shekhar said:
Have you managed to have in built registration code in it so that you dont have to feed the registration key after the installation?
Click to expand...
Click to collapse
The registration code is in the wmtrigger.dat file in windows folder which is created after registration.
So you have to copy this folder after registration and put it in your kitchen.
NIKOSXRI said:
The registration code is in the wmtrigger.dat file in windows folder which is created after registration.
So you have to copy this folder after registration and put it in your kitchen.
Click to expand...
Click to collapse
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
c_shekhar said:
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
Click to expand...
Click to collapse
All Resco products write registration to one file It's well known for ages and it's no need to discover anything. So if you decide to use several resco products - you should install and register them all and then save the summary wmtrigger.dat - it will be one for all installed Resco-s..... And for sure - system User name should be the same for all your roms - it's also fixed in that file...
One more tip: if you occasionally decide to use cracked resco products - you will get a conflict if you use for example one legal and one cracked program simultaneously in one rom. So better use all registered.
AndrewSh said:
All Resco products write registration to one file It's well known for ages and it's no need to discover anything. So if you decide to use several resco products - you should install and register them all and then save the summary wmtrigger.dat - it will be one for all installed Resco-s..... And for sure - system User name should be the same for all your roms - it's also fixed in that file...
One more tip: if you occasionally decide to use cracked resco products - you will get a conflict if you use for example one legal and one cracked program simultaneously in one rom. So better use all registered.
Click to expand...
Click to collapse
Thanks a lot. Added to my knowledge bank..
c_shekhar said:
Thanks a lot. I was looking for this clue sinse ages.
BTW: how did you discover this?
Click to expand...
Click to collapse
You can use sktracker in your phone.
This program traces the changes in registry and files so if you create a snapshot with the program and then install or register applications or change the options and user settings in applications (you better do it program by program) you can easily find the changes and apply them each time you change your rom.
I apply all mods with sashimi but there are other choices also.
NIKOSXRI said:
You can use sktracker in your phone.
This program traces the changes in registry and files so if you create a snapshot with the program and then install or register applications or change the options and user settings in applications (you better do it program by program) you can easily find the changes and apply them each time you change your rom.
I apply all mods with sashimi but there are other choices also.
Click to expand...
Click to collapse
I used to find the registry part of any cab or software by saving the registry and comparing the one before and after with the help of registry workshop on my PC, but did not know that there exists a utility with which wmtrakker.dat"" type of new file creation can also be found out.
Thanks a lot bro!!!
It's very good
Does anyone know how to backup Resco Customizations ( e.g ToollBar Shortcuts etc ? )

Categories

Resources