Creating Cab files - Windows Mobile Development and Hacking General

Hi guys just wondering if anyone can point me in the right direction to a guide or tools to create a cab file.
Never done this before so not sure how easy or hard it is so no flameing please
Want to create a cab file for my operator settings.
Thanks, Chris.

Use WinCE Cab Manager
As above!
You can find the demo version here;
http://www.ocpsoftware.com/products.php?nm=cecabmgr
and the full version but it ain't cheap!
If you google hard enough I'm sure you can find the full version for less...if you now what I mean!!

Andy Phillips said:
If you google hard enough I'm sure you can find the full version for less...if you now what I mean!!
Click to expand...
Click to collapse
Thanks ill take a look, and do some searching

found it in 30 seconds now to have a play around with it, cheers

Tips
Here's some tips for using WinCe Cab Manager;
If you want to import reg files make sure the file has REGEDIT4 at the first line.
You cant export reg files unless you you highlight the registry tree in cab manager
When creating a new cab select 'allow the application to be installed on any device' and on the next page 'All/CEF'.
Read the help file....it's not too bad!

A little bit late, but how about this (free!) installation creator:
http://www.aperitto.com/content/view/14/28/
Works very well, and the developer is quite responsive to requests for bug fixes/features. Very powerful program as well, as far as I can see it does everything that the commercial installation creators can do.
It is based on/uses the very popular Inno Setup PC installation creation program.

Related

Quick & Dirty Installer?

Got some files in a CAB I want to install on a number of units. I would "like" to create an installer that I just double-click on desktop & it installs via ActiveSync - simple. But I'm not a programmer - what would be the best way to do this? Prefer not to copy via explorer & click the CAB on the XDA unit & others may be doing this, so trying to keep it simple. Ideas/recommendations?
I brought Natural Installer a few years back and it has been the business. It is very simple to use, all with a windows interface and creates a single exe as you say that you just double click on to install.
Have a look here :-
http://naturalinstaller.com/
The site does not mention 2003, have you had any problems with that?
Can you define install location? SD Card
How does it deal with chaty cabs (those that want input).
I've had no problems with PPC2003, why don't you download the trial version and give it a go. Post a reply on this thread as to how it works.
As for chaty cabs I think you can make your own setup.dll but I don't know how to and have never done that.
All I wanted was a basic setup that could make directorys, copy files and set some default registry keys as needed, I found that Natural Installer did that very well. As for more advanced stuff I don't know - but as written trial it.
Well I downloaded it and played with it.
For me it seems to be a WinCabManager type appliction.
Yes you can copy files, set reg entries, make dirs, add icons.
All of this seems doable.
What I was hoping for was a selfextracting file that installs a few cabs and not the content of them.
With the BlueAngel you can set up a autorun that runs a list of cabs in the config.txt file. However for this you need to hack the reg to set the pointer for the autorun and config.txt.
I was hoping that this would be more down the lines of cabinstaller that allows you to define which cab you want were but alas does not allow you to define a list of what cabs you want in what location.
So problem for me not solved but thanks for the tip.
Hi Dave
Personally I use NSIS (Nullsoft Installer) - it is basically a very customisable installer which can be scripted to look like any other installer in existance, or you can make it look totally unique to you!
Another great thing about it is that you can make it install multiple cab files at the same time (it's just a case of calling ActiveSync with the cab file you want to install).
Best of all... it's free
Pope <><

create cab for registry

Hello all....
maybe i'm a newbie buti want to learn, i've learn how to cook my own Ext Rom from this site. (Thanks for all!!! also PUG and CLUSTERED)
Now i want to know how to create a cab file for installation, but what i want is just add some registry on the device....
Example: create version.cab like on ext rom..
Thanks to all before...
You need to download a program called mince cab manager, do a google and it'll appear near enough straight away.
If you use a trial version, then you need to delete tpdisable and tpeneable from the extended rom because a popup appears saying that it was created using a trial copy and it won't install that or anything else because you won't be able to get rid of that screen.
Another thing you can do once you have that program to save space is just tag the registry info into another cab file, for example version.cab.
You need to download a program called mince cab manager, do a google and it'll appear near enough straight away.
If you use a trial version, then you need to delete tpdisable and tpeneable from the extended rom because a popup appears saying that it was created using a trial copy and it won't install that or anything else because you won't be able to get rid of that screen.
Another thing you can do once you have that program to save space is just tag the registry info into another cab file, for example version.cab.
I'm not having much luck finding the cab manager on the web, fwiw... A suggestion as to a more accurate search phrase would be most helpful to clueless Christopher
christopherwoods said:
I'm not having much luck finding the cab manager on the web, fwiw... A suggestion as to a more accurate search phrase would be most helpful to clueless Christopher
Click to expand...
Click to collapse
http://www.ocpsoftware.com/products.php?nm=cecabmgr
Thank you....
Yup, this what i'm looking for...
Thank you for Sebi and all of you ( pug and christopherwoods )
Thank you...
Sweet Sebi, köszönöm.

Program Packages & Creating Cab Files

Hey...
i am awaiting my new 8525(hermes) to arrive from Cingular and was wondering if anyone can give me a link or tuturial of how to make cab files for installation of progams to the different phone types. i have a whole bunch of packages collected from various kitchens and have been practicing on my wife's MDA(against her consent) and have gotten good at repacking the roms. However i know alot of the developers and moderators are working on thier latest roms and such and was hoping to do my part at helping those just looking for cabs. so if anyone would be so kind as to point me in the right direction so i may start practice in order to do my part for the community i would be ever so happy.
P.S. if anyone is looking for a particular program package and does not wish to search through every kitchen, PM me and i will search my BU drive (now affectionately name the "XDA Developers" drive) and see what i can dig up for ya .
Hey Wolfdragon, Here's a link to a freeware (for personal use) cab file creator that I found a while back but haven't really played with too much yet. It has a wizard that will help you create a cab file from a package.
I hadn't played with it much yet because I thought that you had to create a setup.xml document for it and I haven't decided to get around to learning how to do that yet, but I just decided to make a cab file from a package and it makes the setup.xml document for you.
Anyway, here's the link - http://www.aperitto.com/content/view/14/28/
They're 2 programs i used to make OEM Packages. They are: 1)WinCE Cab Manager 2)initflashfile Generator. Initflashfile Generator can be obtained from a few Rom Kitchens floating around here, just do a search for it! Trust me, if you can get your hands on WinCE Cab manager, itll make your life alot easier when creating cabs and packages! good luck
only a question, how do i get the wince manager started? everytime i want to start, the program says : class not registered or something like this.
what can i do
has anybody any idea? please ....
free in xp
Start Menu/ select 'Run Program", and type in "iexpress.exe"
i use wince cab manager .... quiet easy .... u can try with any cab and easily u can get the "how to" to start ur own cab

OEM and CAB Requests?... Let this be your source thread..

Hi.
can some one upload User OEM for the new WM6 Kitchen for these programs..
1. LG Menu (LG Prada Today Plugin)
2. Pocket CM 0.19
3. Vicsoft UI Tweaker
4. MT Software Today Agenda V1.1
5. Pocket CM Keyboard 0.13
6. FtouchFlo 1.4.1
I wanna include these programs into my kitchen for future flashing...
thanks
if u can send me the download link for all of them i will turn them to OEM packages for u
hi thanks.. here they are
Mod Edit: Pocket CM links removed per Pocket CM website instruction:
"Is it free?
Yes it is free, for your personal use only (in short: you can use for anything you want, you can't just redistribute it... however you can point anybody to this website). Even more if you want it to stay free, please make donation. Anything is appreciated and will encourage me to continue the development of it as a freeware. To make a donation please use:
Can I post this application to my website?
If you want to post information about this application, please reference this website. Do not provide direct download link.
Also because feedback and comments is important to me, please drop me a mail (qpouplard // gmail.com).
If you want to publish this application on your site, please contact me first. "
So, go here to get it:
http://www.pocketcm.com/
here's the lg plugin
http://forum.ppcgeeks.com/showthread.php?t=14326
alright then..will start making them now
okay.. thanks
Lets keep this thread open for any one who needs to get help on OEMs.. rather than waiting for the new OEM package to come out..
thanks for your help
pocketCM 0.19
download here: http://pocketcm.com/phorum/read.php?18,8733
2 xda2jj: read first act then - for next time and dont change posts w/o notifying "poster". At first i posted direct dwn, but then i changed it to Quentin's site.
PCM
today agenda
PCM keyboard
touchflo
these are in the OEM.rar for the 6700 helmi kitchen. Not sure what else you are needing.
I know they are already in the kitchen.. But i want the updated versions.. unless there is already an updated OEM package that i dont know about.. the OEM Package I have was released 12-17-2007..
Well, I can tell you this much. The BuildOS that is in the works now will actually pull updated OEMs from the web. So, I guess you could learn to update OEMs which really isnt that hard once they are setup or hang tight for the new BuildOS.
Holy Crap!
That's great news!
The new builld os is capable of accessing the web to get OEM updates?.. thats Friggin awesome!
Would it be able to look for new OEMs as well as Updating current OEMs?
I can't wait.. can you give us a clue on when this new BuildOS would be available?
can any one attach the new BuildOS here please...the oems will take time as im running Vsita and ill have to setup my lappy as it has vista..sorry
Here are some of my OEM packages
http://forum.xda-developers.com/showthread.php?t=333359
Hi guys, Not so sure Tene wants his cabs posting, maybe check.
Have someone the program "Notes" from WM6 as a cab. file ?
i doubt it - it's in OEMapps(i think) with everything else, and to take only one app and properly check all Reg.Keys for it..... Not worthy even to think about it
Here it is. credit to Dutty Throy.
phsnake said:
i doubt it - it's in OEMapps(i think) with everything else, and to take only one app and properly check all Reg.Keys for it..... Not worthy even to think about it
Click to expand...
Click to collapse
Anyone with cab files can now build their own packages - thanks to Ervius! And Alex!
This attached tool is part of Alex's Kaiser Kitchen but it'll create OEM packages that can be used across all kitchens...
ather90 said:
can any one attach the new BuildOS here please...the oems will take time as im running Vsita and ill have to setup my lappy as it has vista..sorry
Click to expand...
Click to collapse
Moe5508 said:
Anyone with cab files can now build their own packages - thanks to Ervius! And Alex!
This attached tool is part of Alex's Kaiser Kitchen but it'll create OEM packages that can be used across all kitchens...
Click to expand...
Click to collapse
something is wrong with your file it will not extract. its only 26 k is that possible? well let me know as I have several programs I want to turn into OEM and most of the other programs Ive tried dont work.
hey thanx for this..its works on vista ultimate..but i cant make it open CAB files..it only re-makes prev built packages
EDIT :-
Got it to work..it uses a CAB manager to analyse cab files..its available by the name MSCEInf
the package creater looks for MSCEInfen if the settings are in english or it will look for MSCEInfit if the language is in italian
im attaching the required file..its by default named to MSCEInfen
Here are the Orignal Instruction by the developer :
Converting Cabs to Packages with Ervius Package Creator
If you haven't read someone elses guide before and tried their method of making an OEM package, consider yourself lucky. The manual processes described by some, going through the lengthly process of extracting a CAB file, converting SETUP.XML to registry formats, creating an INITFLASHFILES.TXT manually and so forth takes A LOOONG TIME and I applaud all of those OEM Package builders who used the old methods, because those methods for creating an OEM package was truly an error prone exercise in futility and patience!!!
The method I describe below is semi-automated and uses Ervius Package Creator & Benthon's MSCEInf.exe. Everyone should thank Ervius & BenThon, because we now can convert a cab to an OEM package in a matter of minutes instead of hours...
Setting up & running for the first time
You can skip this entire step if you're using the Kaiser ROM Kitchen w/ Alex's latest updates, as I've included all the files for you. Go ahead and select 'p' from the ROM Kitchen menu and then jump down to 'Steps to convert cab to OEM package'.
All of the files below, plus the cab or the OEM package folder must be in a folder on your C: drive! If not, you will have problems running this program. It's a limitation created by Ervius, not me...
Download and uncompress BenThon's MSCEInf.exe and Ervius Package Creator to the same directory
Rename MSCEInf.exe to MSCEInfen.exe
Run packages creator 5 4.exe. When running for the first time, you will see the following two error messages:
"Error reading Settings file. I delete it!!!" - Click on OK.
"Unhandled exception has occurred in your application..." - Click Continue.
Check the following boxes (settings will be saved in settings.ini for future execution)
Select 'ENG' to change to English.
Check 'Prefix files for duplicate in package subfolders'
Check 'Enable options'
Steps to convert cab to OEM package
Click on 'Open CAB file' and select a cab file to convert.
Click on the 7th icon from the left, 'Extract CAB files with original names in a folder'.
When the folder selection menu comes up, click on 'OK' regardless of the location shown. It will create a folder named after the cab in the same directory where the cab is located.
It will seem like nothing happened, but be assured that the files have been extracted. Click on the X to close the window.
If you really forgot to click on 'extract' and nothing was extracted, an error message will appear - "U've cancelled creating package from cab analyzer... exit!"
The next window that appears, known as the 'initflashfiles tab' is for executable and help file links. Select which files you want your links and the folders to place them. Select and apply for each link and when finished, click done to proceed.
You're now back to the main menu. The UUID for DSM and RGU has been pre-generated. You have the option of going back to 'open initflashfiles tab', creating option.xml with a group, or completing the package.
Once you have chosen the appropriate options.xml category, click on 'Complete Package.
Your cab has now been converted to an OEM package in a subdirectory where the original cab resided.
Click to expand...
Click to collapse

Cab file creating

i just put together a cab file (for personal use) to remove sms threading (due to upgrading roms alot etc)
however i have hit a brick wall.
i do not know how to make the device restart after install?
i have compared to other cab files but the only difference is the other cabs install files not registry?
i'm not all that good with programming however i would really like to complete this cab for ease of reloading a new rom - so any input would be grateful - thank you
For cab file creating i use PocketPC Installation Creator. In the menu there is a check box to set the 'reboot after installation' behaviour. I played with it but noticed that my device only rebooted after installation of files. Because i found it to much effort to look into it, i didn't. After all it is quite easy to reboot manually.
You could use MSCEinf to examine different cabs and look for the reboot after installation setting (http://www.codeppc.com/telechargements/msceinf/msceinf.htm)
I also noticed that some people make cab files from .xml files (sleuth for example). Maybe this method has other options than cabarc in combination with inf files.
Cant give you any answers, still hope it will be of any help.
Good luck and post back result if you figured it out.
Arjan
The easiest way tocreate CAB files is to purchase a copy of WINCE Cab Manager from OCP Software
they have just released a new version which supports Vista
i created the xml document then created the cab from it.
should have said that sorry.
so i was looking for a way to restart device via the xml..
thanks for the input so far

Categories

Resources