Instruction on how to generate working .reg files on WM5 ? - JASJAR, XDA Exec, MDA Pro General

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" ?

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!

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..

Wait Cursor

Hello everybody
I searched 10 times this forum but i could not find it
IS there a way to change animated wait cursor ?? in HTC wizard ??
I found this program http://www.pocketgear.com/software_detail.asp?id=14638&associateid=162
but i don't think it will work with WM5
thanks,
DNO
yes there is a way. the icon is in a dll. so you need a dll editor. there´s a topic here somewhere in the forum. i read it the other day. just can´t remember where. Just look for dll editor or something like that. i think vijay555 changed his once to a hamster. just keep looking.
Yes there sure is.
It is in GWES.EXE and can be edited using a resource editor (google for Resource Hacker)
There are 16 bitmaps in the Bitmap section, running from 1024 to 1039 for QVGA and from 1040 to 1055 for VGA.
QVGA resolution in 32x32, VGA is 44x44
So change them with the resource editor and copy back GWES.EXE to
your device.
Cheers
thanks tweakradje
got it and I sure knwo how to change pics in dll, and exe
thank you very much
I found only gwes.exe.0409.mui in /windows
is this the one ??
tweakradje
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
dno555 said:
I found only gwes.exe.0409.mui in /windows
is this the one ??
Click to expand...
Click to collapse
could be in there also
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
Click to expand...
Click to collapse
I think you need to extract it from a ROM.
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
freezor said:
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
Click to expand...
Click to collapse
same here
yes it is in gwes.exe.0409.mui (US)
Some examples can be found here:
http://4pda.ru/forum/index.php?showtopic=25257
EDIT 8 feb 2007: Check this out http://www.masellis.com/wait/cartoons.htm
Cheers
Been looking into this for a while here, but have had no luck in WM5. I had this great Cartman eating Cheesy-Poofs animation in WM2003 that was so much fun.
Both "gwes.exe.0409.mui" and "gwes.exe" contain the icons that make up the animation for the busy/wait cursor.
Using Resource Hacker I made the change for those 16 icons in gwes.exe.0409.mui. Finally got it to overwrite the existing file in the /windows folder by creating a cab that replaced it after a restart. Unfortunately, even though the new file is now where the old one was, I'm still getting the old animation.
Did the same with gwes.exe using Resource Hacker, but for the life of me, I cannot find anyway of overwriting the file on my PPC. When I tried to overwrite by using the cab file install method, I get a message that says the install was unsuccessful because I didn't have permission to modify the file. I wish there were some way to overwrite the file while it was resetting, or even after a hard reset. I spent quite a bit of time trying to find a way to replace it via the Kitchen Rom avenue, but I couldn't do it.
Any ideas?
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Thanks tweakradje for the tip to rename gwes.exe.0409.mui first. I removed the read-only and system attributes, then renamed it to .old and it accepted that! Then copied my new file over, and I've got my Cartman back!! Wahooo!
Nice to hear. Can you share it here?
I am always interested.
Cheers
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Click to expand...
Click to collapse
I did that and was able to replace the file with the new one checked the reg settings, I also removed the gwes.exe.0409.old file and I still get the old animation. am I missing something?
do I need to edit the gwes.exe file too?
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
tweakradje said:
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
Click to expand...
Click to collapse
i also have a problem doing it. i am sure registry values are right as you said. but when i'm trying to rename the file it just won't rename, or change attributes... i'm using total commander... any ideas?
can somebody please post the original here? WM5
I kinda overwrote it by mistake
leepriestenator said:
can somebody please post the original here? WM5
I kinda overwrote it by mistake
Click to expand...
Click to collapse
how could you overwrote it? it's in rom so as far as i understand thac cannot be done... someone please put some light on the matter ;]
i would post the original, if only i could copy it anywhere outside windows folder... :/
Please, how to rename the gwes.exe.040C.mui.
I try under explorer and Resco explore, I can't, when I change properties of files, it came back to system and read only.
Thx.
JaY
Seems that with my WM5 it does not want to work with the Reg OK and the MUI files changed. It is still going with the icons in GWES.EXE and I cannot copy it from my device to change those icons and EVEN if I could, I would have to copy it back!
Any ideas how to copy over my GWES.EXE?

Cab files missing an icon?

If like me your imate jamin has no icon for cab files I have the solution
Edit the registry and change the following value to read
[HKEY_CLASSES_ROOT\cabfile\DefaultIcon]
Edit the (Default) so it reads
shellresapps.dll,-15618
Or run the attached cab file.
Or import the reg file (if you have a registry editor which can)
Nice job - worked on my wizard too :wink:
Im just not too sure why the value was set to what it was, it simply doesnt work.
I noticed on my WM5 emulator it all looked fine so just copied and pasted the correct key.

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

Categories

Resources