PDA

View Full Version : How to convert _setup.xml to a cab


msward3380
7th September 2007, 08:57 PM
Hi,

I have searched and searched for the answer to this but can someone please help.

have downloaded some add on's, the dir includes the _setup.xml file which i believe i have to change to a cab file using makecab.exe, i have done this and copied the cab and all the other files on to the device and tried to run the cab but always get, their has been an error, the cab can not be installed. Tried it with several programs, all give same error.

Only thing I wonderd is if the makecab is the same for 2005 as it is for mobile 2006 ??

or am i going about this totally the wrong way, any help MUCH MUCH appreciated.

jarod_73
7th September 2007, 09:34 PM
i use makecab comed with my winxp ( the one used to create cab for your pc)
in a dos prompt and never had a problem..

maybe you could have wrong sintax inside your xml file..
anyway here is the command I use

makecab /D COMPRESS=OFF _setup.xml whatevername.cab

they all work on my hermes.

Bye

msward3380
7th September 2007, 10:29 PM
Thanks for that, i was not using the -d setting but still gives me same problem.

I am trying to install Schapps Operator settings program, do makecab /D compress=off _setup.xml setup.cab

copy this and all the other files in one directory to the storage card of the phone and run the setup.cab, goes to ask me wher ei want to sotre it, i select device then it says "Schaps operator setup cannot be installed', this is the same with another program i try to install.

Arrrrgggghhh !!!!

jarod_73
7th September 2007, 10:39 PM
wait a moment.. what you mean when you say program?
with this command you can only "store" an XML file into a cab file.
This xml should be something simple like a provisioning xml file not
a program.
To create a cab file to install a program you need a different tool
(something like wince cab manager), more complete and powerful.

Ciao
J

Romeo17
4th August 2009, 07:51 PM
i use makecab comed with my winxp ( the one used to create cab for your pc)
in a dos prompt and never had a problem..

maybe you could have wrong sintax inside your xml file..
anyway here is the command I use

makecab /D COMPRESS=OFF _setup.xml whatevername.cab

they all work on my hermes.

Bye

Hi jarod_73,

i have just created cab file using your instruction and it worked well if you are runing cab file manually.
i have startup.xml file on my device that can run cab files and install them to any folder i want on my windows mobile device.

my question is.. after i added my new file xxx.cab then i noticed that allthugh file exist and even runed it, then it doesn't install it automatically.
only manual operation can run this cab.

do you have any suggestions?

thanks
ran.

MrDSL
4th August 2009, 07:59 PM
Hi,

I have searched and searched for the answer to this but can someone please help.

have downloaded some add on's, the dir includes the _setup.xml file which i believe i have to change to a cab file using makecab.exe, i have done this and copied the cab and all the other files on to the device and tried to run the cab but always get, their has been an error, the cab can not be installed. Tried it with several programs, all give same error.

Only thing I wonderd is if the makecab is the same for 2005 as it is for mobile 2006 ??

or am i going about this totally the wrong way, any help MUCH MUCH appreciated.

Same problem here and it use to work for me..maybe its windows 7 i dunno