How to restore files on app uninstallation - Windows Mobile Development and Hacking General

Hey there,
New to the cab creation, searched with no luck...
Is there a way to make a cab backup the replaced files and then restore them on app's uninstallation?
Or at least overwrite the installed files with backup ones already provided/installed by the cab?
Thanks.

Related

Removing Junk File??

How can i remove the junk files installed in my /windows directory? i saw many but i dont know if it is important. is there any programs that deletes any unusefull files or junk files? Thanks
your windows dir is filled with the files that windows contain
most are located in rom and can never be deleted
Some files like when i install a software and uninstall it some files will not be deleted. (ie. Help files, images, .txt etc)
got some exampes ?
i know that sometimes shortcuts are not removed from programs
and it's temp dir is also likely to get some temp files once in awhile
but i havent had issues with alot of space being lost to files not being removed
suppose you could always make a backup using activesync and then try
to remove stuff and softreset if it cause issues with programs or windows stuff then do a hardreset and restore your backup
maybe i was wrong. maybe the files that i saw is important and not a junk files. Thank You anyway.
There are utility programs like SpaceMaker and MemMaid which will do housekeeping for you. They delete the "junk" files from your device.
Ed

A (maybe) usefull idea

I used the testwm5.exe to extract the mui files, so to be able to change the mui language to greek. I have an hp ipaq hx2490b and I cannot etract the imgfs files(the program says dont found) from the nba file. So thing that its maybe we can put the mui files( and other files) in rom without to flash via the full backup file from spb backup or pther backup program. I havent eperiance or so much knowledge about these things, so I ask if it is possible to happens somthing like this. To extract some how the files of the backup file and replace the files that we want, and after compress it again.
Just thnk about it.
Thanks!
testwm5.exe doesn't create pure copies of the original files. Compare them in a hex editor and PE analyser. However, they generally work.
spb and similar apps don't create backups of the rom files - they don't need to because they are in rom. However, this means that these backups cannot restore a rom, just user generated files.
V
You can't put the file into the ROM without flashing. Backup software do not touch the ROM, it just replaces the files. If you already have the mui files in your phone, you can do a backup. and the next time you perform a hardreset, you will just need to restore from this backup file.
Ok. Thanks for the quick replay!
So any way to change the mui on this device. So far I didnt find something usefull, but maybe I miss something. Anyone that did it with hx2490b?
Just copy the MUI to windows, set the MUI key in registry to the correct LCID and reset.
Note that system MUIs like shellres.dll.0xxx.mui must be signed to load.

SplashID DB Restore

I have just upgraded my V1606 to WM6 and reinstalled SpashID but my database was corrupt (both on device and desktop).
I have recovered a backup copy (from an SPB Backup of the WM5 ROM) and want to restore to the device.
The problem is the .vol files reside in the Databases folder and I can't overwrite the new files created in here from the reinstall with the ones from the backup?
How can I access the Databases folder to replace these files?
Any suggestions welcome.
Thanks.

Accidentaly deleted files from windows folder

Damn it, i don't know with files, and if i have to restore a old backup. Is there some way to se with files got deleted? (i used total commander) though i have seen that you cant restore files i ppc
Be helpful to know what files you deleted, otherwise you could always hard reset and they will be placed back in the ROM and you could start fresh
Well, it could NOT of been anything to important. ROM files can't be deleted. So they were either use files, or added by proggies you installed.

Copy protected files

Hi,
I'm trying to copy a dll in windows\ folder but get access denied. I tried to find a solution by searching the forum and google but had no luck.
Any suggestions?
I doubt it would work, but you could try using sprite backup to copy everything and then find some way to open the resulting sprite backup file ! afaik it is effectively a zip file !

Categories

Resources