Related
Hello,
I have a registry key, that i would like to distribut (for does who don't know how to modify registry)
I'm using Resco Registry Editor (with this one first there is now way to export a single KEY)
So what tool (if possible FREE ONE) can I use in order to creat a Key and then pack it into a CAB File for Pocket PC ?
Thank you
If you install embedded Visual C++ 4 and the Windows Mobile 2003 SDK (both free), you will get a remote registry editor that is able to export any part of registry.
There will also be samples, showing you how to build a cab file.
I guess this is the answer you didn't wanna hear, but I've found no software which can build a cab from a registry file yet.
Use WinCe Cab manager
http://www.ocpsoftware.com/
Dear All,
I have developed my first PocketPC game (see attached). It is similar to Master Mind but using numbers. This is the way we play it in Iraq
I would like some help in making an installation that automatically create a shortcut in Windows\Start Menu\Programs\Games. I am planning to publish the game as a freeware.
I am using VB .NET 2005 (.NET FX 2.0) so if I can include the re-distribution libraries that would make it easier for users, else I may need to point them at a link.
I used 2 different installtion builders but both only copy the CAB file to the Program Files but not make a shortcut for it. I have an *.inf file and haven't used the command line setup builder yet unless I have to.
Any easier way please?
ThanQ.
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/
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
Can anyone suggest tools/utilities that would allow me to disassemble a WM 6.5 dll to reveal it's methods and parameters? In .net desktop world I can use tools like Reflector to do this, but I seem to be having difficulty doing this on WM apps.
Unregister dll - EDiT - Register dll
Here two threads discussing Developer tools & Kitchen Utilities for (ROM) Chef's;
Kitchen Utensils
60 Universal Tutorials for Customizing any Device and Cooking
Have fun, develop something nice for free and please do it here on xda-developers
There are a lot of ifs and buts to this but here goes:
If the dll was created as a .NET app, then reflector should be able to list the code within it, as it will contain the MSIL code within it. If it has been run through an obfuscator when it was built, this can mangle some of the internals and give Reflector a bit of a hard time.
Otherwise it will be a Win32/MFC/ATL object containing ARM object code. A DLL file is the same format as an exe file i.e. Microsoft's PE (Portable Executable) format. Microsoft's DUMPBIN, part of Visual Studio, (run it from the VS Command Prompt), is able to dump out the EXPORT table which lists the public functions visible in it.
There is a freeware ARM dissassembler , CHARMED, which can run on your device which can display the ARM assembly code, but to make any sense out of it, you will require a pretty good knowledge of the ARM instruction set and basic knowledge of how compilers work. If you don't know what a stack frame is, you'll struggle.
Providing a link to chARMed and C/P from that page
stephj said:
There is a freeware ARM dissassembler , CHARMED, which can run on your device which can display the ARM assembly code, but to make any sense out of it, you will require a pretty good knowledge of the ARM instruction set and basic knowledge of how compilers work. If you don't know what a stack frame is, you'll struggle.
Click to expand...
Click to collapse
Here is the link for this nice freeware ARM dissassembler;
http://sites.google.com/site/naphos/software
Requirements: Windows 98,Me,2000,XP Size: 246kb Description: ABOUT ChARMeD:
ChARMeD is a Windows Mobile / Pocket PC / Win CE (for ARM CPUs) Disassembler and Assembler
The name ChARMeD stands for:
Carolo's Hexadecimal ARM Editor and Disassembler
FEATURES:
· Disassemble a Windows CE Executable for ARM CPUs.
· Assemble instructions in ARM Assembler.
· Upload modified file to Windows CE Device.
· View MZ and PE Headers of executable.
· View Import Table of executable.
ASSEMBLER:
· Added NOP instruction 0x90909090, which is not part of the ARM instruction set, but nevertheless works because it is an undefined instruction.
· Supports all no operand instructions, Branches (Jumps) and instructions with two registers as operands.
DISASSEMBLER:
· Recognises 0x90909090 as NOP (see ASSEMBLER above)
· Supports all no operand instructions, Branches (Jumps) and double operand instructions.
ARM Classic Processors
ARM Infocenter
I think IDA is standard for this kinda reversing. If you can find a location where the DLL is called from in another app, you should be able to quickly identify at least the number and format of the parameters. Obviously you can also refer to the import/export tables for this.
V
Awsome bits of info to get me started ... thanks!!
Is a DLL signed?
And if it is, how does one know it? I use a tool from sysinternals called Sigcheck
Sigcheck
Verify that images are digitally signed and dump version information with this simple command-line utility.
One way to use the tool is to check for unsigned files in your \Windows\System32 directories with this command:
Code:
sigcheck -u -e c:\windows\system32
Though there are way more options than the example above.
As all reverse engineers/hackers or cooks you too should investigate the purpose of any files that are not signed.
Besides some nice sysinternals standard utilities, there's also;
SystemInternals_Suite
For obvious reasons I'm using not a direct link to the Suite. Therefore you need to click on it (on the left) yourself. There's a load of useful utilities there waiting to be downloaded by (would be) developers, power users and system / network administrators (are we not all).
If it is signed with a signature; you need to unsign it before editing it!
It's dead easy.
1) Copy your DLL from your phone to your PC. You may need to use ROMExtractor to do this if you have problems.
2) Unsign it using Unsigner. To do this download Unsigner and the Unsigner batch file here. Copy Unsigner, the Batch file and the dll from the phone to one directory and run the .bat file. It should tell you that the certificate has been removed.
3) Download Reshack
4) Open the dll from the phone using Reshack or the better not free PE Explorer
5) Do your editing.
6) Click Compile String at the top and then save the file.
7) Download Ssigner. Launch it and use Select File to select the DLL file you've just modified. Click Start Sign Process! When it's done check the text file that's created to make sure it signed properly.
8) Copy the file back to the Windows directory on the device using for PPC/handheld/CE free Total Commander. If necessary Reboot.
Kitchen Utils Reviewed gives links to programs a developer / cook needs!
Have fun edtinig, vewinig ,bwroisng, assilimating, copamirng and itengaritng your files,
o/~