I made a cab file with all my reg tweaks, and after installing I need to soft reset manually for applying the changes.
I want that immediately after installing this cab, I will be prompt to preform a soft reset.
so I probably need to add a setup.dll, but I have no idea how to make one
can you guys help me?
Hi! I made a setup.dll of my existing softreset code. Enjoy...
http://www.shubaroo.com/index.php?module=setupdll
Ø
t0flus said:
Hi! I made a setup.dll of my existing softreset code. Enjoy...
http://www.shubaroo.com/index.php?module=setupdll
Ø
Click to expand...
Click to collapse
Dude you rock! thank you! work like a charm, I own you one
Can someone tell me if there is a tool for making/editing setup.dll ?
Yes, there are such tools:
Creating: embedded visual C++ / Visual Studio 2005
Editing: IDA
Please note that unless you can program in C++ or read assembler those tools are useless to you.
debuging/tracing
I am sorry to bring back this old thread..
I wonder if there is a way to debug setup.dll with IDA since its inside the cab file..
I need this because I want to patch the setup.dll to not to check for OS version befor allowing to install.. so I need to know the code resposible for that.
any help would be appreciated
Are you sure that the OS checking is included in the Setup.dll? There is a built in feature for this in the cab file....
Related
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!
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" ?
Hello All,
Is there a way to strip an installed application from a PPC into an installable .CAB file, if one has lost the installation files/DVD, but still have the application installed on the hand-held.
Thanks in Advance.
Not really.
You can always copy the files out (if you can find them all - some may be in windows folder or places other then the main app folder) but you still would need to know every registry key the app requires.
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
ahh..hhaa !
meschle said:
If you use sktools it tells you all the files installed and registry entries. You could then extract all the files as levenum said and make a cab including the registry entries.
Hi lev
Click to expand...
Click to collapse
My experience with SKTools makes me cringe...my ATRE would not stop rebooting until I remove the SD card(where SK Tool was installed and remove it completely.
What software do I need to make a .cab file ?
I will still make all efforts to attempt this anyways....
Ive had no problem with sktools - i always install to main memory. If you manually make your cab then use cabiwiz - or use a commercial app like wince cab manager. Which program are you trying to put together?
cabiwiz enclosed inc example app and tutorials
Funny thing - I was replying to another thread with similar question stating that there would be a problem finding out all the REG keys.
Then jackleung posted about a tool called "ssnap" that supposedly can take an image of the system.
Comparing an image from before and after installation should show all the changes a cab makes.
Since I am not personally familiar with the tool I can't say any more about it.
As for cab creation - while I use cabwiz my self, it is a command line tool and you need to know ho w to write inf files for it.
For a beginner an app like WinCE cab manager will be more comfortable.
It is a shareware, so it will stop working after a while unless you pay but it is very good.
P.S.
Hi Mark
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
Hello all. I'm looking for some pointers and I'd greatly appreciate any help you can give.
I'm starting to make some OEMs out of cab files, and I've pretty much got that part down. The problem I am having is making an OEM out of a cab that utilizes a setup.dll file.
I have taken a registry snapshot before and after installing one of these cabs, but it is still missing something. Am I just SOL? Does anyone know of an app that will "decompile" the .dll file so I can see the install_exit and install_init calls?
My other option was to modify these cabs so that they have hard coded paths and force them to install without user interraction. Then dump them in /windows, make a mortscript in /windows/startup that will install the cab, delete the cab, then auto delete the mortscript. Does anyone have a better way of doing this?
I do it the old fashion way. Dump registry, install app, dump registry again and then Use windiff to see the new reg entry's. Also grab all the files on the ppc from the cab. (sometimes Setup.dll renames files in cab)
After you do a few, it'd becomes as easy as a regular cab. If you need help let me know.
If there is an easier way i don't know it. I hope there is though.