Unable to install repacked CAB file. - Windows Mobile Development and Hacking General

I have a strange problem with the repacked cab files.
I use CabLib for compression and extraction.
This lib can extract and compress cab's without any problems, but the problem starts with old cabs (with binary inf file *.000). Repacked cab are not installed by wceload. It's just prints "Installation was unsuccessful".
However, if you do the same thing with the "new" cab's (with _setup.xml) they will work fine.
And now I'm stuck. What is the trick with those files? Are the .000 file should be at the specific offset?
One workaround of this, is based on .000 file generate _setup.xml... but i really don't want to do that
Both file attached.
The target OS is 6+
UPDATED:
Ok, i've figured it out, as i suspect, the .000 file should be the first in the cab, but i was compresing directory. Thanks for the help anyway

Related

What's wrong with the SE ROM??

After downloading Jeff Summer's rom (.exe file), I tried clicking on it to extract the files...no good.
Then I used Winzip and extracted to C:\windows\temp.
Next I click on start.bat and the dos window comes up stating NBF directory not in the C:\windows\temp directory?
I move the nbf file to this directory and the uprgrade process starts.
Next I get Error 012
"Rom image that you are trying to upgrade is not compatible to your Pocket PC.
Your device
ModelW10B1
Rom version 3.14
Lang: english
Your upgraded image information:
ModelW10A1
Rom version 3.17
Lang: english
Please download comaptible utility."
What the hell went wrong??
:? :?
Sound like you extracted everything in one directory instead of in the directories mentioned in the self-extracting exe. Or something similar.
Not exactly. Here's what I did as best as I can remember.
When I clicked on the .exe file, a dos box opened, gave me an error message that it could not find the nbf directory.
Then I used winzip to extract the files into the same directoy as the .exe file.
From there I tried running the start.bat file. Still no good.
What finally worked was a strange combination of clicking on the .exe file and then immediately clicking on start.bat. This was after I moved the nbf file from the \english subdirectory to the subdirectory that had the .exe file.
It was a strange work around, but it work and the rom loaded and seems to work well.
I am getting the same problem here but I havent been able to work around it. I tried what worked for you without success.

Cannot install 5.1

My MDA does not recognise the .rar extension.
I have to select a programm to run this file first ??
Help
I can't install 6.3 myself. 2.7 causes a few problems too.
It would help if we knew what application, v5.1 of was causing you trouble.
Yes, a fantastic amount of detail there!
In any case, a .rar file is a compressed file (like .zip files).
Get yourself a copy of WinRar to decompress your .rar file, and you'll probably find that the 'real' setup files are in there. There's also a PPC version of WinRar which you can use directly on your device
http://www.rarlab.com/download.htm

Extract .dll from .cab

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

making .cab files

For some reason, the .cab I made to fix the QuickGPS issue will *NOT* install. It was made with WinCE Cab Manager like I have made every other .cab file which has always worked.
Trying to install on the Kaiser.
Can someone figure out what went wrong? I'm frustrated.
Thanks...
-Mc
In my oppinion there is a _setup.xml missing in your cab file. So the installer doesn't know what to do with your file. You should try to make such a file and intigrate it into your cab. The easiest way is to use and modify an existing _setup.xml from an other archiev.
For i do not know which filetype the file you try to install (that is defined in the _setup.xml, too) has i can not be shure. But if it is an dll you have modifyed u'll have to unregister it before modyfying and reregister it before you put it into the installer.
search for "unsigner" and "msigner", for signing dll's
One last hint. I use ZipStar for creating cab files. That is much easier for it has the look and feel of winzip.
this is strictly a reg patch .cab. I've used WinCE Cab Manager for a while now with no issues. I also checked some of my previous cabs and none of those had .xml files in them either so this looks consistant.
I've NEVER installed any of my cabs on the Kaiser so I'm wondering if the issue is the OS. I'll try to install this cab on my K-Jam just to see if it works there. If it does, the issue is a compatability issue.
If I manually create the xml file and create a cab using ZipStar, is that all there is to it or is it going to be missing something? I've never used ZipStar and not familiar with how it handles PPC .cab files. I checked out their website and I don't read German.
Thanks again for your help. I'll give your recommendations a shot.
-Mc

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