Creating a Cabinet (.cab) File
See Also
There are two ways to create a cabinet file. You can create an in-place packaging configuration as a part of a Visual J++ project, or you can create a distribution unit project.
To create a .cab file as an in-place packaging configuration of a Visual J++ project
-
Display the output format tab.
-
Select Enable Packaging. From the Packaging type drop-down list, choose the Cab archive (.cab) packaging type.
-
Pick the contents that you want in the cabinet file. See Setting the Outputs of a Visual J++ Project.
-
Click Advanced and adjust any settings for Cabinet (CAB) Properties, Java Permissions, or External Dependencies. Click OK or Apply.
-
In the Visual J++ project properties dialog box, click OK or Apply.
To create a .cab file using a cabinet distribution unit project
-
On the File menu, click New Project.
-
Expand the Visual Studio node. Choose Distribution Units.
-
Choose the Cabinet (CAB) packaging type.
-
Make any adjustments to the name and location, if needed. Select Close current solution or Add to current solution, as needed.
-
Click Open.
-
Add any files or projects to the distribution unit. See Adding or Removing Additional Files from Distribution Units and Adding or Removing Projects from Distribution Units.