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!
Wazzzzzzzzaaa???
This is my first C# util!
It facilitates ExtRom update process. All you need to do is to put your cab files to Ext and run this utility, then the utility will create Config.txt at Ext with all cabs specified as "CAB: path2cab". If you need to get your original Config, then check ConfigOld at Ext
C# Programmers let's unite!!! ))
ps: the utility is not verbose one, so you won't see any messages & lame stuff. If you see something, then there is a problem
that's good boy! will try it l8r..
THANKS!
Man, wher z feedback?? Did u try it?
Yo,
boobee said:
that's good boy! will try it l8r..
THANKS!
Click to expand...
Click to collapse
Boy, hope you finaally tried it! And try this one also. This is my 2nd C# util
Shortly what it does:
UnZips your files with consecutive registry values (reg V4) import and splash writing
It means that you can zip all your files to one file called Setup.zip and place it anywhere (storage/ext). After hard reset, the utility is called and it extracts all your files and restores your favorite registry settings (saved to Setup.reg) and writes your splash.
btw: read za manual !
ps: the concept is the same, if u see somethin' then there is a trouble
Re: Man, wher z feedback?? Did u try it?
Attention!
The file was re-uploaded, so there mustn't be any CRC errors now
System Requirements
Regarding system requirements, the program needs old version of ER\Autorun.exe that understands ER\Config.txt
Program was not tested on XDA1! It was partially tested (w/o hard-resets on XDA2 / 1.72TM
Version 1.1
Wazzza!
Here is a new version of Restorator utility. The new features are:
+ now it deletes content of \My Documents;\Windows\Start Menu;\Windows\Startup folders (as people wanted
+ TimeZone offset is not resetted anymore
Note:
Make sure you have prepared your customized Start Menu (!!!) and Startup (!!!) folders, otherwise you won't be able to see Programs after hard-resetting your device. Please, check the attached sample to prevent yourself from having problems with this utility or use version 1.0 that don't delete anything
Umm... could anyone translate this into English for me?
I don't even understand the title of the thread.
In another thread, SP says that one of these downloads will retrieve data back on hard resets. Sounds like a useful tool, if only I understood what the hell these posts mean. :lol:
For Ben
sublimatica said:
Umm... could anyone translate this into English for me?
Click to expand...
Click to collapse
Here we go...
(assuming that you downloaded 'RestoreItV1_1_PPC.ARMV4.CAB' & installed it to your device)
This program is designed to restore your files, folders and registry settings from a ZIP-format archive and it can also write some splash screens
For this purpose, you need to make a ZIP-format archive with files & folders you want to get restored after hard-reset. Just run your favorite pocket zip archiver (for instance PocketRAR) and archive those files & folders that you want to see after hard-resetting device. Name your archive "Setup.zip" and place it to one of the following places: storage, storage card or extended rom.
Before doing further instruction make sure you have unlocked your ExtendedROM using ExtUnlocker.
If your rom is unlocked try to run the utility from \Storage\RestoreIt. If you had no messages after running it, then the utility installed itself successively. And your files & folders placed to 'Setup.zip' will be restored on next hard-resets.
If you're interested in restoring registry settings, then you need to get pocket registry editors that support exporting/saving to .reg files. After saving your favorite registry settings you will need to combine them to one .reg file and name it 'Setup.reg'. Then, you will need to place it to your archive's root folder (aka '\') So, you will have a file 'Setup.reg' placed to the root folder of your 'Setup.zip'. That's all folks
I strongly recommend you to see sample 'setup.zip' & 'manual.txt'
DON'T FORGET TO PUT YOUR CURRENT '\WINDOWS\STARTUP' & '\WINDOWS\START MENU' FOLDERS TO YOUR SETUP.ZIP!!!
You're welcome to ask me questions anytime!
Aaah, OK. That makes more sense
Sounds like a handy little tool then. Might have a play later.
Thanks, SP!
RAR-support
Is there anyone who is interested in rar-support for restorator?
Attention: Restorator v1.0 & 1.1
Attention: Restorator v1.0 & 1.1 are originally supported by I-Mate 1.72! All you need to do here is to use Extended ROM unlocker prior to running the utility
Feedback
Any feedback so far?
SP,
Restorator seems like a winner!!! I have been hitting my head on the rocks for a while trying to script a recovery using nscriptm as a scripting tool to call cab files which I keep on a storage card. Looks like using your tool a lot of the tedious scripting can be simplified by simply copying the files where they need to go. The challenge is knowing exactly what to copy & where... Is it possible to add the ability to call CAB files to your already excellent utility?
I am imagining putting all the CAB files in say a folder like \CABs in the Setup.zip and then having Restorator calling them one by one after finishing off with all else that it does. Can this be done? Additionally can you add ability to call registry imports at two points? You may wish to call registry import at the beginning and once more at the end after all cab file execution has been completed. This would be useful to restore application settings etc which the cab execution would overwrite to default. You would obviously need to keep two .reg files in the zip file. Does this make sense?
Thanks once again for all your efforts. Regards
Hi Mate
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
SP, thanks for continuing to work on this utility. I am waiting eagerly for your next update. I will set it up and test it with a hard reset so we can see real outcome. Let me know when ready please. Thanks
Re: Hi Mate
SP said:
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
Click to expand...
Click to collapse
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Re: Hi Mate
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Click to expand...
Click to collapse
Unfortunately I don't have an XDA 1 device at my disposal and I'm unfamiliar with its tech info.
What happens when your xda1 is hard resetted? Does it install cab files? or does it run any configuration software?
If there is a such software (on XDA2 it is autorun.exe placed at ExtendedROM), then you must specify in the runner (which starts on hard-resets) the call to the restorator utility
Looking forward to assist you in porting restorator for XDA1 devices
Cheers
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Restorator V1.2
k_kirk said:
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Click to expand...
Click to collapse
Sorry for the delay...
I'm having lack of time now, thus I couldn't test it very well . Just let me know if you found some bugs...
Now you can create "\CABS" folder and place your cabs there. They will be processed after extraction and before registry import. So, you don't need to have two .reg files then.
I'm looking forward to your new ideas!
ps: another attachment is a set of registry settings splitted by .reg files. I'm using them to get my setup.reg. Just change what you need, delete some of them and run "make.bat". It will create setup.reg with all your settings.
btw, check out "Usher_-_Yeah_[44k].wma" & "Maroon5_-_This_Love_[64k].wma". Home-made ringtones ;-)))
for those who hadn't used Restorator before. !!! DON'T FORGET TO PUT YOUR "START MENU" & "STARTUP" FOLDERS TO THE SETUP.ZIP !!! AND READ DA MANUAL!!!
Cheers
SP,
I tried the Restore-It utility today and found that the earlier functionality of copying files & importing registry etc from setup.zip works quite well.
The \CABS folder was also restored onto my device so I guess thats an indication that my setup.zip file was contructed properly. I am sad to report that none of my cab files were triggered by Restore-It though. I think there is a small bug thats holding back this behaviour.
Your kind assistance to check & correct this will be most appreciated.
Thanks & Best Regards
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
i just put together a cab file (for personal use) to remove sms threading (due to upgrading roms alot etc)
however i have hit a brick wall.
i do not know how to make the device restart after install?
i have compared to other cab files but the only difference is the other cabs install files not registry?
i'm not all that good with programming however i would really like to complete this cab for ease of reloading a new rom - so any input would be grateful - thank you
For cab file creating i use PocketPC Installation Creator. In the menu there is a check box to set the 'reboot after installation' behaviour. I played with it but noticed that my device only rebooted after installation of files. Because i found it to much effort to look into it, i didn't. After all it is quite easy to reboot manually.
You could use MSCEinf to examine different cabs and look for the reboot after installation setting (http://www.codeppc.com/telechargements/msceinf/msceinf.htm)
I also noticed that some people make cab files from .xml files (sleuth for example). Maybe this method has other options than cabarc in combination with inf files.
Cant give you any answers, still hope it will be of any help.
Good luck and post back result if you figured it out.
Arjan
The easiest way tocreate CAB files is to purchase a copy of WINCE Cab Manager from OCP Software
they have just released a new version which supports Vista
i created the xml document then created the cab from it.
should have said that sorry.
so i was looking for a way to restart device via the xml..
thanks for the input so far
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 ? )