add registry entries using xml files? - Windows Mobile Development and Hacking General

i've noticed that the autoconfig utility in most of our pda's (am using atom) add some registry keys to the registry using the xml documents stored in the extended rom (hidden storage on atom).. can anyone please tel me how this is done? thanx..

There you go:
http://msdn.microsoft.com/library/d...en-us/mobilesdk5/html/wce51grfregistrycsp.asp
and for samples:
http://msdn.microsoft.com/library/d...bilesdk5/html/wce51samregistrycspexamples.asp
Cheers,
Raul

thanx for the resources, rain.. but i donno how to run the xml file to rite it to the registry? i can make them now.. but wen i open them, it just opens to pocket IE.. how do i add what i've written in the xml file to the registry? thanx.. sorry for being a noob

RAPI is a possbility of provisioning the xml from your desktop, or a simple way is to call DMProcessConfigXML , check out the article: http://teksoftco.com/forum/viewtopic.php?t=4
Cheers,
Raul

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!

Instruction on how to generate working .reg files on WM5 ?

Hello,
can anyone tell me if there a good instruction somewhere about producing an executable .reg file for the WM5 platform (Qtek 9000 PPC as well as Qtek 8300 Smartphone) ?
It should contain modifications to the registry which should be applied upon exectuting this file.
(With thge help of a second such file I'd like to reset the initial reg values back.)
Thanks in advance.
well
just look inside a .reg file with notepad.
example:
[HKEY_CLASSES_ROOT]
[HKEY_CLASSES_ROOT\.2bp]
"Content Type"="image/bmp"
"Default"="bmpimage"
"PerceivedType"="image"
[HKEY_CLASSES_ROOT\.3gp]
"Default"="3gpfile"
that's it...
im sure u understood what should be done...
To make it executable you need to write a custom app or import the reg settings into a cab and load the cab.
V
How do i make a .reg file delete a value in the registry ??
I think you insert a - before the key
I'll have to google to confirm, but I'm cooking right now
V
vijay555 said:
To make it executable you need to write a custom app or import the reg settings into a cab and load the cab.
V
Click to expand...
Click to collapse
Thanks to all !
Yes, just this would be my prime question:
Is there any documentation on how to make it executable by "transforming it into a cab file" ?

Program to Restore Parts of Registry Backup

Hi,
is there a way or a program to backup/restore the registry as .reg file,
or more important: restoring only parts of the registry
via a program "like" spritebackup. is there a reg editor which can export/import the registry partially?
thx a lot
I use kilmist/klimst registry editor (never remember the spelling).
That exports and can import registry files.
If you've got a full reg export, edit it in notepad on your PC to have just the bits you want, save and import on your PDA.
V
looks like ur the right man for my questions thx a lot
another thing, do u know unlocker for pc? excellent tool for unlocking
files being processed by another app... can release the file,
or just kill the process - unlocker
is there something similar for ppc available?
Hi again and one more question...
do you know a prg to make screenshots directly on my magican?
want to make some pictured tutorials, so something with hardwarebutton assignment would be helpful.
:SOLVED:
http://www.freewareppc.com/graphics/magicss.shtml
hw button ok but it's not so fine.. mhm only bmp and folder must be selected every time
jpg would be cool.. any more ideas?
and thx again
I use Resco file explorer' Add-on for registry editing. Exports as .reg files.
Cool and easy..
For screen shots, i use Pocket Artist 3
Regards
Carty..

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

How can i see the registry files

i need to access the registry to change some string values
You need a registry editor.
I use http://ceregeditor.mdsoft.pl/index.php?lang=en which is free.
Load on your pc and it uses ActiveSync to connect.
Remember to use its tool "unlock registry" to allow changes.
Also backup your registry with this editor before changes !
r
Andrew
Thank you
May i have it as CAB
civilization said:
Thank you
May i have it as CAB
Click to expand...
Click to collapse
What rom you using. Most roms have a registry editor already included. Check your programs list.
You can find most cabs here

Categories

Resources