Extract .dll from .cab - Windows Mobile Development and Hacking General

Excuse me for beeing a newbie, but can't seem to fin any way to extract the .dll and .gif files from a cab file. For example I downloaded CrossbowPhonepad.zip from http://forum.xda-developers.com/showthread.php?t=292014&highlight=media+player+skin
But I'm not quite happy with the way it looks and I would like to start to play and alter with it. But when I extract the .Cab file all i get is strange .012-fil and so on. And of course the .XML file where you se how the .dll and .gif files shall be installed.
How to I extract them (.dll and . gif) from the .Cab file??
I'v tried Winrar, Winace, Total commander.
Please Help

the simplist way
Have you tried cabdump.pl (it can be found on the XDA-Wiki, main wiki page->complete tool list -> RomTools->cabdump.pl)
But I've found the simplest way is to install the cab on your device, and then copy the files you're interested in to your pc.

There is an excellent, easy to use program called MSCEInf that allows you to work with CAB files, including drag and drop extraction of files - with their original names - from CAB installation files. It's available here:
http://www.freewareppc.com/utilities/msceinf.shtml
It's developed by a Frenchman named BenoƮt Thonnart.

You should also try WinCE Cab Manager.
But generally WinRar works fine. The files in the cab are simply renamed to 8.3 convention with extension showing the file number. Extract the xml and you will see what name belongs to what file. Just extract and rename.

Thanx gues...that really helped

Related

Winampaq skins

Does anyone use Winampaq? If so, have you managed to use any of the Winamp 2.x skins?
I'm having trouble trying to use them. Basically, I put the relevant skin (.wsz) file in a folder, but when I use the browse function on Winampaq, the list only shows the folders and not what is contained within each folder
Any ideas?
Many thanx
change the wsz extention to zip and unzip the files to a dir
and point to that dir using winampaq
and they all work at least all the skins i've tried
Thanks Rudegar, but you must excuse my ignorance. I have zipped the wsz file, but I can't extract it directly to my XDA2. I have to extract it to my desktop first, before syncing the file to the XDA2. But once extracted to the desktop, it is a .wsz again so zipping it hasn't made any difference.
Could you explain to me step by step how you do it, please?
I'm using "StuffIt" to zip the file, but I guess the results would be the same as if using "WinZip".
Once again, please excuse the ignorance, but I really want to change the skin as the default one isn't very pleasing to the eye!
Many thanks
you have to CHANGE the extention of the file
before
skinname.WSZ
after
skinname.zip
you have to edit the file name not zip the file
wsz is just a zipped file to begin with
after you change the extention you can just copy out the stuff from inside it
i use total commander both on my pc and on my xda because it makes it easy to work with zip files and other things, it sees zip files like dir's and you can copy stuff from inside them without any problems
Many thanks for your help, Rudegar. I will give it a shot...

Converting EXE to CAB for Extended ROM Auto-Install?

Hey Guys,
I have been customising my extended rom so when I hard reset I get all the applications I want (Resco file explorer etc). I have been doing this with .cab files fine.
The problem is that I have files which are .exe setup files (e.g Flash player 6). These have to be installed on the PC, and the cab is copied to the XDA and run. I would like to just have e.g a flash CAB file to put on the extended ROM.
is there a way to convert the PC EXE into a XDA cab file, or some way to run the PC exe on the device automatically in extended rom?
I know some .exe setup files can be extracted using winrar which then give you the cab file, flash player isnt one of them though.
Regards,
Jez.
http://forum.xda-developers.com/viewtopic.php?t=10058
Jez said:
is there a way to convert the PC EXE into a XDA cab file, or some way to run the PC exe on the device automatically in extended rom?
Click to expand...
Click to collapse
Use Windows Registry Editor (regedit.exe) to look for the path where your Desktop Exes are extracted to PocketPC Cabs:
Look for this value:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"InstalledDir"="k:\system\hardware\pda\imate\ASync"
Now, open your Windows Explorer and go to the path. You will find your cabs in corresponding folders (e.g, folder MacromediaFlash shall contain Flash6.arm.cab and etc...)
If you need to do more complex restoration, use Restorator tool. It restores your directory and file structure, registry settings, installs cabs, writes boot screens and does everything nice...
Oh my god, you are both bloody geniouses!!
This is wicked, cheers guys!
Regards,
Jez.
Any other ways to xtracting & repacking to cab?
Renaming the file format (exe to any formats) & exe xtractor software doesn't work.
I can compress any data to .cab, but how to xtract perfectly exe files?
Convert EXE to Cab online without having to download any software
If you have an EXE file that you would normaly run on your PC to install a sofware... it looks like this online converter work to have it converted into a cab file for your cell phone!!!
try it!
1- first you need to compress your EXE file into a ZIP folder... that will create a ZIP file on your desktop.
2- then you go to http://media-convert.com/convert/
3- browse on the first field to determine witch file on your pc you want to convert .. select the ZIP file you just created...
4- on the second part of the page you will be ask what format you want to convert your ZIP file to .. on the scrolldown menu select . CAB... and hit the convert button .. the online service will do the rest ..
Basicaly will upload your file onto their server , process it and render it to you on a file download link ...
There you go you have now a CAB version of your EXE file to upload on your phone with ActiveSync...
My problem
how to say... the site is cool ,and i get my file converted. However, the nature of that file hasn't been changed into a cab. it is still an exe. I dunno if i have done something wrong when converting.

edit *.cab like *.zip or *.rar

Yall Know cab files Cant be edited on Win RaR but Found a Program That Lets You edit it take files add filed and modify _Setup.xml the Programs name is IZARc and i think its Free dats how i edit cab files anyWay i First Extract the Files Win Rar Then Modify them and Wen im done i open the cab file with IZArc And Drag All the files in the folder to IZarc and VoilA!! a edited cab file but for some reason cant install them via active sync but they install alrite on device
Nice find!
I've downloaded, and will definitely try it out.
WinCE Cab manager?
Just like 7-zip, correct?

Any App For Changing .Exe to .Cab ? ? ?

is there any program to convert .exe to .cab ?
i don't want to use pc for installing files like that .........
what i do,.... use the exe in your pc without the pda,... activesync will try to install the app in the ppc,... dont't touch it....
Go thru my pc to the folder where activesync is installed,... there you will see one folder named usually like the app you wanna install,... open it and you will see the cab ,... done....
Excuse my english ,.... thanks
I've never tried it myself, but presumably the CAB file is just wrapped up in the installer so you can probably open the EXE using something like WinRAR and just extract the CAB file from it yourself.
There is no general solution for this.
In most cases the CAB files are inside an installer EXE. The possibility and effort to "extract" the cab varies depending from the EXE (there are many different packers and installers on the market).
Some of them can be opened with packers like WinRAR or 7zip, others can't.
There is one thing they all have in common: the CAB has to be (temporary) installed onto your harddisk. This might be under "Programm Files\Software Vendor\", ActiveSync directory or an temp directory, for example "C:\Documents and Settings\<user>\Local Settings\Temp\<subdir?>" in Windows XP. In some cases the CAB will be deletet when the setup programm ends.
So, unfortunately, there is no generic method to extract the CAB.
open the exe in winrar or a similar archiving program and look for the cab (probably a jumbled up name, though still has the .cab file extension)
just extract the EXE using winrar and copy the CAB file in there to your mobile device.

WinRAr unpacks CAB files as XML docs??

Hi,
Can anyone help please. I have tried using both winzip & winrar to unpack CAB files, but they seem to be unpacked as HTML docs. If I click to run, takes me to html code page on the web.
you dont need to unzip the .cab files on your computer.
You just put the .cab file on your phone then "open" it on your phone. Thats how the .cab file runs.
It's kind of like an .exe file on your phone
Yeah - a cab file is an installer, similar to msi files on your PC. There's XML files in there that define what to do with the rest of the files in there.
if you want to see whats inside a cab file on your pc then use msceinf .. its free and very effective.
that way you can see what folders a cab sets up. extract what files it has, and tue registry too.
Thank you guys - downloaded a small cab and opened on device. Works fine.
Feel a bit naff for tearing my hair out over such a simple thing.
Now I'm going to try and find that msceinf as mentioned by fards.
thanks again.

Categories

Resources