Is there a way I can turn a setup.exe into a .cab file? Any auto install program? - Mogul, XV6800 ROM Development

Is there a way I can turn a PPC setup.exe into a .cab file?
Is there any software out there for the WM6 that you can put a bunch of cab files in a folder and it will auto install them all…so I don’t have to do them one by one?

visual studio 2005 & 2008 have a cab maker tool included. It does not require the source files to be created with studio...
Copy

Setup applications that run on your desktop PC simply copy the appropriate cab file to your device. You can extract the cab from the exe. You can also run the exe on your computer, and during the install process the cab will be transfered to another folder on your computer before transferring to your PPC. It is usually in Program Files/Microsoft Activesync/*App folder*, but sometimes it varies. Search your PC for .cab files and you should be able to find it.
There are programs like TAutoInstall (or something like that), SDAutoRun, and maybe one or two others that will run a series of cab files at first boot. You can probably find some discussion of Tautoinstall on PPCGeeks (edit: or try here). Search for threads by Tiermann. It might do what you're looking for.
WinCE Cab Manager is a powerful cab creation tool as well. You might be able to package multiple cabs within a single cab using it. Not sure, never tried. Good luck.

I have been using the activesync method of getting the cab and it works great.

serfboreds said:
I have been using the activesync method of getting the cab and it works great.
Click to expand...
Click to collapse
Hows that?

Program Files/Microsoft Activesync/*App folder*
Click to expand...
Click to collapse
this is the location for the cabs * this is what he's talking about
Copy

So if i dont have my phone hooked up, and i a run exe file, it will create a cab file and place it "Program Files/Microsoft Activesync/*App folder* " and then i just have to go to that folder and copy the cab file?

highflyin128 said:
So if i dont have my phone hooked up, and i a run exe file, it will create a cab file and place it "Program Files/Microsoft Activesync/*App folder* " and then i just have to go to that folder and copy the cab file?
Click to expand...
Click to collapse
No, once you install the executable to your phone (using .exe) the first time, it will drop the cab in the "Program Files/Microsoft Activesync/*App folder*" for future use.
I used to use Tools-add/remove programs within activesync to reinstall these programs that were only .exe, but I learned recently that you could go into the folder above after first install and get the cabs that activesync extracts to accomplish this add/remove feature.

serfboreds said:
No, once you install the executable to your phone (using .exe) the first time, it will drop the cab in the "Program Files/Microsoft Activesync/*App folder*" for future use.
I used to use Tools-add/remove programs within activesync to reinstall these programs that were only .exe, but I learned recently that you could go into the folder above after first install and get the cabs that activesync extracts to accomplish this add/remove feature.
Click to expand...
Click to collapse
I'm running Window Mobile 6.1 and Vista64bit, i dont have a "Program Files/Microsoft Activesync/*App "

Probably different on Vista/WMDC.
Do a search on your computer for .cab files.

highflyin128 said:
Is there a way I can turn a PPC setup.exe into a .cab file?
Is there any software out there for the WM6 that you can put a bunch of cab files in a folder and it will auto install them all…so I don’t have to do them one by one?
Click to expand...
Click to collapse
You should look into Sashimi... it's pretty cool you can just drop the cab files in a directory and it auto installs all of 'em... also has the ability to execute EXEs, REG files, Copy files to root of device, run MortScripts, and xml files too... all part of an automated process.. you click go after a hard reset and it is on its way!
Another nice thing I like about it vs the sdconfig autoinstallers is there is really no maintenance to scripts/etc once you update your software.. all you do is manage the files in a directory structure which is as easy as copy and paste of the cab/etc.
http://forum.xda-developers.com/showthread.php?t=392983

I have searched for the .cab and cant find anywhere that Windows Mobile Device Manger puts them

You can also try extracting the cabs directly from the exe. Use a program like WinRAR to open the exe. There will often be multiple cabs for various WM versions (ie 2003, WM5, WM6, etc), and they are usually not named very desciptively, so a little trial and error will probably be necessary.

WinRar seems to extract the exe's and give me the cabs....THANKS ALOT
This Thread Can Be Closed

Zenoran said:
You should look into Sashimi... it's pretty cool you can just drop the cab files in a directory and it auto installs all of 'em... also has the ability to execute EXEs, REG files, Copy files to root of device, run MortScripts, and xml files too... all part of an automated process.. you click go after a hard reset and it is on its way!
Another nice thing I like about it vs the sdconfig autoinstallers is there is really no maintenance to scripts/etc once you update your software.. all you do is manage the files in a directory structure which is as easy as copy and paste of the cab/etc.
http://forum.xda-developers.com/showthread.php?t=392983
Click to expand...
Click to collapse
Sashimi is BAD A$$, Thanks alot for the pointer

highflyin128 said:
WinRar seems to extract the exe's and give me the cabs....THANKS ALOT
This Thread Can Be Closed
Click to expand...
Click to collapse
how are you getting winrar to extract cabs?

kflipproductions said:
how are you getting winrar to extract cabs?
Click to expand...
Click to collapse
Extracting the EXE's to get the cab's

Not all executables are self-extracting executables. This will only work with self-extracting executables.
If you can't extract your executable with Winrar, the only other option is to run it with your phone unplugged from Activesync, then find the cab on your PC. Again, with this method, not all executables work that way. I have found a couple that I simply COULD NOT produce a cab from.

gc14 said:
Not all executables are self-extracting executables. This will only work with self-extracting executables.
If you can't extract your executable with Winrar, the only other option is to run it with your phone unplugged from Activesync, then find the cab on your PC. Again, with this method, not all executables work that way. I have found a couple that I simply COULD NOT produce a cab from.
Click to expand...
Click to collapse
I've generally found that I can do this with pretty much any setup executable, although I use 7-Zip instead of WinRAR (it's free and fantastic).
As for the Sashimi recommendation, I can't agree enough. The program is pure awesomeness.

Universal extractor i guess is the way to go. extracts all files (cabs) from any .exe or .msi or anything else
Universal Extractor 1.5
Universal Extractor 1.6 Beta (vista)

Related

Extracting cabfiles from software I have??

I have been reading lots of posts on the forum and got so far but now I'm stuck.
I have an XDAII and have managed to unlock and unhide the extended rom. now I can access the extended rom while XDAII is in the cradle.
I understand how I can add cab files to it and will be using the configcreator tool to edit the config.txt file.
The problem I have is; all the pockekpc software I have, is on my computer and I have only ever installed it through activesync the normal or official way. When ever I have tried to put the files directly on my phone and click on them I always get the messeage this is not a valid pocket pc application..... or something like that.
So how do I convert the software files I have on my computer to cab files so I can include them in the extended rom? :shock: ? :?:
To most of you guys this must seem like a nuby question sorry :roll: , but I can't seem to find the answer on the forum.....
Is there a tool I can use or a program that I can use to make useable cab files?
Also just a though when I install programs via activesync does my computer convert the files to cabfiles and then automatically transfer them to my device? if so can I somehow copy the cabfiles from the temporary location on my computer :?:
A step by step guide would be helpfull but any help would be appreciated :?
Thanks in advance
Daz
Some 'high-end' software will leave a copy of their cab files on a specific directory (i.e. you have a choice of choosing). Those you can just go to the directory and copy it. If you do not know what I'm talking here, nevermind
Anyway, for normal simple software, they will most probably extract themselves to temporary directory. Example
C:\Documents and Settings\'yourWindowsUserName'\Local Settings\Temp\
where 'yourWindowsUserName' is your username for the PC. My guess would be, try to search for *.cab files in your temp directory (i.e. as the above dir) before you install your software. THEN, start your software installation, and do a search again on the 1st setup screen, see if you are lucky And try to do another search after you're done with the setup.
Hope this helps.
Thanks for that I'll have a go.
Daz
I managed to edit my extended rom! 8)
I was able to add the cab files from tom tom navigator 3 and it installs them perfectly after a hard reset!
The only issue I have, when I run Tom tom for the first time after a hard reset I have to keep entering the activation code. Not really a major issue more of a pain.
Wonder if anyone knows how to get it to enter the activation code automatically :?: Bat file or something :?:
This sites really helped me with my tinkering I think its about time to donate
Thanks for all the help guys
Daz
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Re: adobe reader
doortodoorsalesman said:
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Click to expand...
Click to collapse
Hi :
Here after what I do with succes :
When installing the application from ActSync, you must select "Storage Card" instead deffault location to install.
Then, you have to cancel the installation process before the progress bar on your PPC's screen ends.
A dialog box will ask if you're sure to abort the process.
At this stage, you go to storage card throught your PC Explorer, and you'll find the cab file there.
You save it away.
This cab file on the storaqe card will be automatically removed when you confirm that you really want cancel the installation process on the PPC's screen.
Or...
Go to c:\Program Files\Microsoft ActiveSync folder in your desktop and you can find there more cabs. Or simply find all the *.cab files on your HDD and you'll be surprised.
Thanks for this I will check out both methods
Does anyone know what the best freeware tool for modifying the cabfile is? and where I can download it :?:
Thanks for the help
DAZ
...
I think,that everyone here knows only WinCE Cab Manager from OCP Software. But this is commercial,but...on internet is everything...

Locations of files for packages

I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Dravor said:
I have a pretty basic question. All of the cab's I've turned into packages for a kitchen, should all of the files be simply dumped into /windows? It just seems like it would turn it into a major cluster..... If I'm correct we just use initflashfiles.txt to tell the Kitchen where to put the files?
Such as:
Directory("\HTCHome"):-File("HH_WEATHER_19small.png","HH_WEATHER_19small.png")
Would that be correct?
Then to call a program, put a copy of the lnk pointing to the executeable in Games, Windows, Programs, or whereever we want it?
Thanks,
Dravor
Click to expand...
Click to collapse
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
dcd1182 said:
i believe initflashfiles just copies, so windows would be as clutterred either way. i prefer to make the application look to /windows rather than another folder, then only 1 copy of the files is needed.
hopefully someone here can correct me if im wrong..
Click to expand...
Click to collapse
Ok that's fine. At least that makes sense, and backs up what I've seen working with initflashfiles. I'm somewhat suprised Microsoft has not put out a workaround for this.
Thanks,
Dravor

cab file issue

So why when I load a file like glaxon or the alarm clock on my windows machine its not a cab file its another type of file. When I go to open it, its in internet explorer and its a bunch of text.
When save it on my MAC it is a .cab file...
Am I doing something wrong?
Well, I'm sure you know that you're not supposed to run PPC cab files from the pc.
But normally, cabs are associated with winrar or programs of that sort on an XP/Vista machine.
Anyway, just copy the cab to PPC and see if it installs ok or not.
fireblade63 said:
Well, I'm sure you know that you're not supposed to run PPC cab files from the pc.
But normally, cabs are associated with winrar or programs of that sort on an XP/Vista machine.
Anyway, just copy the cab to PPC and see if it installs ok or not.
Click to expand...
Click to collapse
They are not even cab files is the problem....

OEM's For Custom ROM's

This is probably a easy question but I have been struggling to find an answer. I downloaded a custom kitchen because I wanted one of the .exe files from it, but when I go into the OEM section there is a folder for the .exe. Inside the folder are the imageinfo.bin, imageinfo.txt and S00 files. Is there a way to get this back to the exe format so I can just copy the file to my phone? I tried loading the custom ROM and copying the exe from the windows folder and it would not allow me to do that either. Any help is appreciated
Those are packages for cooking including the registry files, drivers and other random files needed for the app to work. I would not use those... just type in what your looking for followed by .cab into the search bar and should be able to find it
I realize the rgu file contains the registery entries, but I really need the exe for wmodem used it the ROM. I have tried the wmodem cab files with no success.
snag nueRecMod...
drag the folder containing imageinfo.bin, etc onto nueRecMod.exe in windows explorer
look inside the nueRecMod folder for your compiled module
That works great. Thanks man!!!

[Q] cab from exe Roboform PPC

HI
I'm a regular user for cooked roms, (CDMA ENERGY mainly)... Sometimes I need to make a hard reset but with PIM backup, XDA_UC, etc.. I'm in no time running at full speed again.
My problem is with a freeware application RoboformPPC this installation comes only in an exe file, thus needing a computer to make the installation.
Is there anyway during the install process or after, that I could get the cab it transfers via activesync to the phone?
This way I can have it on my SD card and install it after a Hard Reset.
I have write them few days back, but still no answer from them.
Any help would be really appreciated. Thank you.
Cab
Here you go, just a small tip if you download 7-zip and extract the exe file, you find all the cab's inside.
Rataplan said:
Here you go, just a small tip if you download 7-zip and extract the exe file, you find all the cab's inside.
Click to expand...
Click to collapse
I've had a Hommer moment... *facepalm*
Thank you very much!
I did try with WinRar, then with Universal Extractor with no luck.
7Zip did it.
And to think I had melted my brains for days trying everything.... Sigh...
THANK YOU.!

Categories

Resources