Create CAB file/Script for auto (forced) deleting of files? - 8125, K-JAM, P4300, MDA Vario Software Upgrading

Is it possible to create a file/script that I can execute that automatically deletes some files or directories on my Device?
Or is this a job that has to be done by hand?
Regards,
Molski

Related

Replace wavedev.dll

Hello,
As everybody already knows there are some serous problems with Qtek9090 device type models and carkits. A nice echo is produced when somebody is calling. I have a wavedev.dll file that should resolve this issue but I can't replace it on my Qtek9090 because it's a system file. How can I force this replacement?
Thanxz for any response, I bought this complete set and i'm thinking about it to return it. Operator T-Mobile, rom1.40, radio 1.20.
Peterpanman.
rename existing wavedev.dll to wavedev.bak, copy the new file and reboot.
Just curious but is it definitely Radio 1.20 or 1.12 as 1.13 is the latest I know of....
wavdev.dll
hello mamaich,
of course i can not rename the file because it is a system file, in use, attributes can not be removed. anybody has another idea?
peter
(sorry for the type mismatch radio 1.12)
Re: wavdev.dll
1. All files in ROM can be freely overwritten even if they are loaded by applications. But they of cause cannot be renamed.
2. Files in object store that are opened cannot be overwriten. So if you cannot do that - than this file is contained in object store and was already updated, probably by some CAB from extended ROM.
3. WM2003 allowed opened files from object store to be renamed. According to your post you have 2003SE.
If you cannot rename this file - the file may be in ROM, so you can freely overwrite it with explorer.
If you cannot overwrite it - you still can rename it. In this case after renaming there would 2 copies of file. One with the new name, and the old wavedev.dll would reappear (the ROM version would be visible again).
In some rare cases some program may completely prohibit access to the file, but i've never seen that for DLLs. Unless you are using some PocketPC antivirus (a completely silly idea by the way). In this case uninstall antivir and do a soft reset.
WM2005 does not allow user to overwrite ROM files, but they can be still overwritten by OS itself, for example by creating a custom CAB file. I do this in my WM5 patches.
Not working
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Re: Not working
Peterpanman said:
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Click to expand...
Click to collapse
You can use WinCe Cab Manager

Reg setting to prevent cab file from being deleted after running it?

I've tried searching but with no luck.
what is the reg setting to prevent cab file from being deleted after running it?
Thanks!
this came from searching google:
"We use *.cab files as installation files for our Windows CE versions. Sometimes users ring to ask how to stop the CAB files deleting themselves after running them. Users having been copying the cab files to the CE desktop before running them to ensure that the original remains after installing.
This is not necessary - If you change the properties of the cab file (right-click on the file and select properties) to READ-ONLY (tickbox) then the cab file won't delete itself after installation.
CAB files "self destruct" after being executed unless you make them read-only. We send all our cab files to our web server as read-only, but this attribute tends to get removed at the download stage"
mikey411 said:
I've tried searching but with no luck.
what is the reg setting to prevent cab file from being deleted after running it?
Thanks!
Click to expand...
Click to collapse
mikey411 said:
I've tried searching but with no luck.
what is the reg setting to prevent cab file from being deleted after running it?
Thanks!
Click to expand...
Click to collapse
Search a bit harder freind, its all over the place, may i suggest wiki
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other Ctrl+f 'cab" you'll find it
thanks guys.. i will search harder next time..

Run SD Cab with autorun.exe

hello
i need to add a username into the registies for a number of devices i'm flashing. Unfortunatly the usernames all need to be different i.e. PDA001, PDA002 and so on...
I've created a number of different cab files each for a different device that will add the username in.
So is it possible to run the cab file off the storage card as part of the hard reset process. i've updated the SD card with the file Username.cab which is the name of all the cab file, then added "CAB: \Storage Card\Extended_ROM\Username.cab" in to config.txt which is in the Extended ROM. i tested it but it didn't work.
Has anyone got any ideas
Or may be have a shortcut to the cab file added into start up. Would that work?
I'd suggest that you instead edit an existing (or relatively insignificant) CAB file (that you'd probably have no use for anyway) with the registry entries/additions so that its guaranteed to be included when you do the Extended ROM customization.
Did you ensure that you copied all the files from an original extended ROM correctly (before making your modifications)?
The thing is I have around 250+ device which need flashing with the same image and as all the devices will require a different Username adding into the registies I 'll need to run an external cab file, a cab file which will be different for all the devices and it's best to run it from the SD card.
I tried to adding a cab file into the Extended ROM which will install a shortcut into the startup folder the shortcut is to the cab file on the storage card. But for some reason it didn't run.
I have a couple of SD cards with an image of my Extended rom on so if anything goes wrong i have the backups.
Whats wrong with having the 'end-user' maually execute the .CAB file?
Why don't you simply customise one PDA (the way you wan't with your preconfigured settings) (minus the user/device name), then do an entire backup using SPB BACKUP (onto a SD Card). You can then restore this image on all 250+ devices (sounds time-consuming,but it really isn't).
All the end user had to do, is to manually execute your .CAB file when they are issued the units.
This is your true answer (in my opinion):
http://www.spbsoftwarehouse.com/products/backup/?en
RE: Whats wrong with having the 'end-user' maually execute the .CAB file?
Basically the devices are used by Market research interviewers who work for us, most of whom are not familier with the devices and are not computer litterate. I'm responsible for a small support team and also the development of the devices. The software we use is already extremley simple and all they need to do is click a buttom "Connect" if the username is not already inserted they get a box "Logon Failed, please check the following details are correct." and a username and password box is displayed and they simply need to type in the id number from the sticker on the back of the pda (like PDA001).
We have just had a large project in feild and over the period we have around 200+ user. Around 50% of the call we took, at some point they had problems entering the username. As much as SPB backup would be of use, if they can't already do a simply thing like type in PDA123, asking them to do this seem like asking alot and would probabily cause more issues.
We already have all the other information in the registries for this application and the username is the only thing which isn't consistant through out.
Do you know if it would be possible to prompt them to run the cab from the sd card which enters the username into the registires on startup?
Nunwood PDA said:
Do you know if it would be possible to prompt them to run the cab from the sd card which enters the username into the registires on startup?
Click to expand...
Click to collapse
Sure it is possible. Did you already try placing a shortcut to the .CAB in "Windows\StartUp" ?. Likewise, you can easily create another script that deletes that shortcut (to ensure that its only used once).
Please keep us posted, on your developments.
Nokia 3650 said:
Sure it is possible. Did you already try placing a shortcut to the .CAB in "Windows\StartUp" ?.
Click to expand...
Click to collapse
Yeah, it didn't do anything. I had a cab file in the extended ROM which placed the shortcut in the dir. \Windows\startup\. For some reason nothing happened, but when I navigate to the .cab file it ran without any problems.
When you say create another scipt, how would I go about doing that? If i had an .exe it could act as a link to the cab on the SD card. i'm not familier with this kind of method. But I think that would solve the problem.
The location of the .cab is: \Storage Card\Help\UserName.cab
Thanks for the exact location. I'm just compiling something for you in visio Studio 2005, that will execute the .CAB file when run at automatically from startup (it'll do this only once).

Is there a way to extract a cab file from an installed ROM?

In the old days, there was no problem accessing the ext ROM and copying every cab file. I understand that the situation is different with the Diamond. Is there any similar way to do that? I don't have the ROM installation file (and can't get it anywhere), but I just want a certain cab file it installs..
To whom that might be interested, it seems that those cab files are located in the \Windows directory.

Installing from PC - Where is CAB

Some software I install is done with an .exe file from the PC. It seems like these programs simply dump the CAB onto the phone for install. Does anyone know where this CAB is on the phone so I can copy it for re-install later?
Doug M.
Check the location you installed on your PC, the cab is usually there too
I have a quick question. I dowloaded Xtract that game. And I extracted the zip and i dont see a .cab file anywhere. Only a setup.xml and a few other files.
Sometimes it goes into a temp folder, it depends on the software. If I see it mention a location during the install process I check that folder for the cab file.
pennywisdom said:
Sometimes it goes into a temp folder, it depends on the software. If I see it mention a location during the install process I check that folder for the cab file.
Click to expand...
Click to collapse
Ohh nevermind. So with CABviaActiveSync I just click it and it will install to my phone?
Sometimes you can open up the .exe file with 7-zip and just extract the cab file. Or, if you have sk tools, you can re-pack the program into a cab with their 'installed programs' tool.
dwmackay said:
Some software I install is done with an .exe file from the PC. It seems like these programs simply dump the CAB onto the phone for install. Does anyone know where this CAB is on the phone so I can copy it for re-install later?
Doug M.
Click to expand...
Click to collapse
Hi Doug!
You can find the .cab file(s) in C:\Program Files\Microsoft ActiveSync\XXXX
Where XXXX is the name of the software you have installed.
HTH
Thanks for the replies. This should speed-up some installs for me.
Doug M.

Categories

Resources