Invalid CAB files - MDA II, XDA II, 2060 General

I just got my XDA II and started installing my software onto it. Noting seems to work! Any software that has more than 1 cab refuses to install, if i look on the device the cab files are there but trying to execute them gives a invalid cab file error - i am installing to SD card, installs to ram seem ok. What am i missing?

maybe your cab files are not for the arm processor?
or not for ppc2003?
it is quite strange for a pocket pc application to have more than 1 cab.

You say they install to ram ok but not to sd card, do the programs work once installed to ram? Many programs have an option when downloading to either have an exe file install or a cab file install, have a look at the sites of the software you are installing to see if that option exists for the programs you are trying to install.

ok, to clarify..Dispite the low number of posts i'm not a newbie - been using and developing for ppc for years...The software all installed ok on my ipaqs(3970 + 5450) both with XScale both with WM2003. I am using activesync 3.7.1, and am leaning towards that being the problem, any thoughts?

you don't need activesync to install cabs. if you copy the CAB to your ppc,
and then click on it in the pocket-file explorer, it should install too.

I'm not trying to install cabs. On my pc i click the install program. That launches add/remove programs in activesync, that copies over the cab files to the ppc which are then executed. If install fails they are not removed. that is how i know they are there.

What programs are you trying to install?

based on a post at pocketpcthoughts in august 2003 i changed my todat theme back to windows default - and guess what - no more install problems! no more directory corruption- should i return my device?

Related

Difference from .exe installation and .cab ...

Hi guys,
I think I don't understand the difference between the desktop (.exe) installation and the .cab installation for a ppc programs....
Is there a possibility to install the program in a dir. of the SD? For example, I'd like to create a dir called "Program files" in the SD.
P.S: How can I change the default location for programs installation from device memeory to SD?
Use cabinst (search on google) to install cabs from PPC to different folders - essential tool!
You need registry tweaks to change the default folder, although this isn't really advisable. See Tweaks2k (i think) for this. But with cabinst, not required!
V
Thanks!
If I understand well... I have to install at first cabinstl on my Jam and after that I must use .cab installation!!? (I have to copy cab file in to particolar path of SD or?)
Using .exe install is not possible?
The .exes you download from sites wil (almost always) be for installation on the PC. You double click that, that'll load up activesync and install that way.
The other way is to copy the .cab to your pocketpc and double click. That will install, but gives little control over custom folders to install to and will also delete the .cab after install.
However, after installing cabinst you can double click on .cabs on the PPC and install anywhere.
V
Yeah! With cabinst I can instll app on my own "Program Files" dir in SD...
That's nice but I can't find all the app I have to install in CAB format so... my question is if is there any method to put the files on a specific dir from .exe installation..
Many thanks guys!
if you've got the .exe for the pc, double click it WITHOUT your pda connected. Activesync will load up and you'll get the Add/remove programs screen, saying the program will be installed next time you connect your pda.
Then, on your pc, you have to hunt around for the cab.
I use a program called filetracer to find files, but generally try looking in (I think, I'm not in front of my pc right now) C:\program files\Microsoft active sync\ (or something like that). There you should find folders, eg
\spb\Weather Panel (that's not a real example!).
Dig through there, and you should find eg
Arm_VJStuff.cab.
This is the file you need.
Sometimes you'll get a bunch of numbered files. eg If you see one like
2577_vjstuff.cab amongst other numbered files, the 2577 is the one you want (2577 refers to ARM, the chip in your PDA).
Copy that cab file to your desktop or wherever you want to store it, and copy a copy to your PDA. When you connect up your PDA activesync will ask if you want to install the installation you aborted earlier. Just cancel it.
From there, just install on your PDA with cabinst!
Sounds complicated, but you'll get the hang of it very quickly!
I keep all of my cabs in a folder for installation from hardreset very quickly.
V
Sounds good!!! :wink:
Thanks!

sbp pocket plus

I have had this installed and running fine.
I re-installed it in order to copy the cab files for the extended rom. I sucessfully copied the cab files but it failed to install on the universal.
I have removed it and tried re-installing several times, but each time it gets to putting the cab files on the device it fails.
Anyone else has theis probelm and found a way of fixing?
Thanks
Steve
Have you tried installing the "hey, don't worry about unsigned cab files" cab file? If not, read the thread on cooking roms with files (http://forum.xda-developers.com/viewtopic.php?t=36350) as it has a download for the aforementioned cab file.
I would really like to know how you got the cab files though... I've trawled my system and have been unable to find them so far - are they created in a temp location during install and then removed? Your help would be appreciated!
HNY!
If you installed the licensed version of SPB to your host pc, you can find the cab files under the program files\microsoft active sync directotory or just do a search of your program files directory for all *.cab to locate.
Ahhhh! Excellent, thanks! In order to filter results, I was searching for *spb*.cab so no wonder I couldn't find them! Many thanks and a non-denominational Happy New Year!

How to install exe files on your MDA without activesync...

Any ideas ?
If you run the .EXE, it puts the .CAB files in a directory under C:\Program Files\Microsoft ActiveSync. There may be a few versions for different devices, but you can usually tell which is the right one by looking for arm or WM5 in the filename. Copy the CAB to your SD card and then install directly to your device.
how can you tell what's in an exe file?
When I try to install real player for mobile, it says I should install Activesync -which I've installed already!
Can I access the cab file for my device from the .exe package that sits in my desktop?
Thanks for any help you may have.
There're some advanced tips & tricks here
thanks a lot

Change Installation Directory

Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!
Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.
You can use the freeware CabInstall and install program directly from the SD.
Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.
The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!
if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.
Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)
Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0
Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com
oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions

extraxting a cab file from an exe file

in paticular i want the cab file for MorphGear. how do i do this? I have tried using cabinst but that doesnt seem to do anything
Some ".exe" are extractable with a soft such as "Winrar" :wink:
if that doesn't work then try the following.
1. Remove app from you computer and device
2. Disconnect device from comp
3. Run exe for app
4. When you see the message "this app will be installed on next sync" go to start---search
5. look for *.cab that was created or modified today and is less than 1MB (change file size to whatever value you think is appropriate)
Problem is..
I cant get activesync to work, hence needing the cab file to install morphgear :-(
So I dont think that will work
Any other ideas?
chrisredmayne said:
Problem is..
I cant get activesync to work, hence needing the cab file to install morphgear :-(
So I dont think that will work
Any other ideas?
Click to expand...
Click to collapse
Can you install Activesync tho, dont have to sync just get it to install. If you can than run the morphgear.exe and after it says it will install on the next sync, go to C:\Program Files\Microsoft Activesync\ and you will see a Marat folder, the .cab is in there. It will almost always make a new folder and put the .cab of the program you are install into the Activesync folder, if it is not there than it created its own folder under Program Files and the .cab should be in there.
Just because im bored I downloaded this MorphGear.exe
http://dl.filekicker.com/send/file/155967-7256/MaratSetupPPC2003.exe
And have attached the .cab that was put into my ActiveSync folder for you.
wow thanks that was very nice of you!
i checked that folder and there was about 10 different morphgear files that id been messing about with! And they worked! Well chuffed i am
Is anyone playing gameboy games on it? On the website listed in the first post the module (MaratSetupPPC2003.exe) leads to an invalid link. But i found it on xda http://forum.xda-developers.com/showpost.php?p=904167&postcount=5 i installed it but it only wants to see snes roms

Categories

Resources