Creating a gauge .cab file

You need to have the FS2004 SDK installed and use the cab creation tool in that. Instructions are provided with the tool although they call for the use of command line functions. I am not sure if you can use 'drag and drop' techniques on that tool though as it's been so long since I used it. Maybe someone else can confirm if 'drag and drop' works on the 'cabdir.exe' file.
 
Yep, drag and drop works great.


http://download.microsoft.com/downl...8-40c4-8790-468a0d74798f/cabdir_sdk_setup.exe

If you create add-ons for Flight Simulator, you can use the Cabdir utility (cabdir.exe) to combine all the folders and files in a directory into a single .cab file (similar to a .zip file), simplifying the process of distributing files to end-users, whether they download the file from a Web site or install it from a CD or floppy disk. You can use a setup utility to extract and install the files for end users or explain that they can manually view and copy files in the .cab file.

This CAB File SDK explains how to create cabinet (.cab) files from the contents of a directory using Cabdir.exe.

The files included in this SDK are Cabdir.doc and Cabdir.exe (the utility for creating .cab files).
 
Confirmed.

just did a little test with a simple gauge, dragged and dropped the folder with the content on the cabdir.exe and the gauge.cab file was created. thus drag and drop works .


Wim
 
Thanks for confirming that guys. I knew drag and drop worked in the FSX SDK I just wasn't sure about FS2004.
 
On a side note, and you may already know this, but FS2004 panels work fine without having to create .cab files to contain gauge sets. You can simply place them in a normal folder structure and point them there, and all works well. I found this out after messing with cab file creators and not getting on very well!
 
On a side note, and you may already know this, but FS2004 panels work fine without having to create .cab files to contain gauge sets. You can simply place them in a normal folder structure and point them there, and all works well. I found this out after messing with cab file creators and not getting on very well!
Yup, the .cab file is just a compressed archive much like a zip file but made using a different tool. It just makes the folder smaller to save disc space.
 
Back
Top