How do you assemble a cab file?

Forum dedicated to Microsoft FS2004 - "A Century of Flight".

How do you assemble a cab file?

Postby Jaypee Dippel » Tue Dec 30, 2008 5:36 pm

Is there a tutorial or a utility out there for assembling a cab file? I have edited xml files and BMPs ready to go but I don't know how to compress them into a cab file. Any help would be greatly appreciated.
Jaypee Dippel
2nd Lieutenant
2nd Lieutenant
 
Posts: 77
Joined: Wed Jun 11, 2008 1:13 pm
Location: Columbus, Ohio U.S.A.

Re: How do you assemble a cab file?

Postby CAFedm » Tue Dec 30, 2008 6:03 pm

CabDIR found at the bottom of this page:

http://support.microsoft.com/kb/555857

Just copy & paste the provided link and you will be prompted to download. Once installed, I think all that needs doing is to drop the required files/folder onto cabdir.exe which will create a .cab output file.
Last edited by CAFedm on Tue Dec 30, 2008 6:08 pm, edited 1 time in total.
Brian
CAFedm
Captain
Captain
 
Posts: 619
Joined: Wed Nov 17, 2004 2:06 am
Location: Between CYXD & CYEG, Alberta

Re: How do you assemble a cab file?

Postby Opa » Tue Dec 30, 2008 7:11 pm

You need to download the CabDir SDK from Microsoft:

http://download.microsoft.com/download/ ... _setup.exe

Then the way I do it is to create a work folder and place the cabdir.exe file (which comes in the SDK) and the bmp and xml file in that folder.

I then use a simple batch file (created with Notepad) which I have named Make Cab.bat to actually do the work.

This is the syntax of the batch (bat) file:

cabarc n mycab.cab *.bmp *.xml
Pause


When executed, the batch file will compile any and all bmps and xml files it finds in the work folder into a cab named mycab.cab

That of course can be renamed as you so desire and then be placed in the panel folder or gauge folder etc.

If you have any questions please feel free to e-mail me directly -

opaflightsimadddict at verizon dot net

I am currently working on a Tutorial showing how to create an icon and cab file to display pop-up windows in the cockpit.

Hope this helps.
Last edited by Opa on Tue Dec 30, 2008 7:12 pm, edited 1 time in total.
David "Opa" Marshall
User avatar
Opa
Captain
Captain
 
Posts: 634
Joined: Wed Nov 05, 2008 2:38 pm
Location: Plano, Texas

Re: How do you assemble a cab file?

Postby Jaypee Dippel » Tue Dec 30, 2008 7:33 pm

Thank's CAFedm, Opa, I'm downloading CabDir SDK. I'll report back.
Jaypee Dippel
2nd Lieutenant
2nd Lieutenant
 
Posts: 77
Joined: Wed Jun 11, 2008 1:13 pm
Location: Columbus, Ohio U.S.A.

Re: How do you assemble a cab file?

Postby Opa » Tue Dec 30, 2008 7:55 pm

I made a "slight" mistake.

The program which I use to create cabs is called CABARC.EXE and it is also from Microsoft and you can get it here:

http://support.microsoft.com/kb/310618

The batch file I detailed in the previous message works with this program.

Sorry about that.   [smiley=bigsad.gif]
David "Opa" Marshall
User avatar
Opa
Captain
Captain
 
Posts: 634
Joined: Wed Nov 05, 2008 2:38 pm
Location: Plano, Texas

Re: How do you assemble a cab file?

Postby microlight » Wed Dec 31, 2008 9:22 am

Or use CabPack, which has an easy-to-use Windows GUI bolted onto the front of Cabdir - much simpler. Available here (http://www.softpedia.com/get/File-manag ... Pack.shtml)

Happy new year, all!

Martyn
;)
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK

Re: How do you assemble a cab file?

Postby Opa » Wed Dec 31, 2008 9:40 am

Or use CabPack, which has an easy-to-use Windows GUI bolted onto the front of Cabdir - much simpler. Available here (http://www.softpedia.com/get/File-manag ... Pack.shtml)

Happy new year, all!

Martyn
;)


Thanks for the GREAT tip !!

That is indeed a sweet interface to use.   [smiley=bigsmile.gif]
David "Opa" Marshall
User avatar
Opa
Captain
Captain
 
Posts: 634
Joined: Wed Nov 05, 2008 2:38 pm
Location: Plano, Texas

Re: How do you assemble a cab file?

Postby microlight » Wed Dec 31, 2008 10:00 am

Pleasure. Happy new year!

;)
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK

Re: How do you assemble a cab file?

Postby Jaypee Dippel » Sat Jan 03, 2009 6:46 pm

I did it! I assembled a cab file using CabPack. I'm on a roll again. Thanks for the help and Happy New Year! :)
Jaypee Dippel
2nd Lieutenant
2nd Lieutenant
 
Posts: 77
Joined: Wed Jun 11, 2008 1:13 pm
Location: Columbus, Ohio U.S.A.

Re: How do you assemble a cab file?

Postby Opa » Sat Jan 03, 2009 8:22 pm

I did it! I assembled a cab file using CabPack. I'm on a roll again. Thanks for the help and Happy New Year! :)


You might also find this tutorial useful:

http://library.avsim.net/esearch.php?Ca ... LID=132531

Happy New Year!
David "Opa" Marshall
User avatar
Opa
Captain
Captain
 
Posts: 634
Joined: Wed Nov 05, 2008 2:38 pm
Location: Plano, Texas

Re: How do you assemble a cab file?

Postby Jaypee Dippel » Sun Jan 04, 2009 12:10 pm

Thank's Opa, that's a great tutorial. ;D
Jaypee Dippel
2nd Lieutenant
2nd Lieutenant
 
Posts: 77
Joined: Wed Jun 11, 2008 1:13 pm
Location: Columbus, Ohio U.S.A.


Return to FS 2004 - A Century of Flight

Who is online

Users browsing this forum: No registered users and 626 guests