Creating a Zip Archive (.zip) File
There are two ways to create a Zip Archive format file in the Microsoft development environment. 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 .zip file as an in-place packaging configuration of a Visual J++ project
- Display the output format tab.
In the Output Format dialog box, select Enable Packaging. From the Packaging type drop-down list, choose the Zip Archive (.ZIP) packaging type.
Pick the contents that you want in the cabinet file. See Setting the Outputs of a Visual J++ Project.
- In the Visual J++ project properties dialog box, click OK or Apply.
To create a .zip file using a distribution unit project
On the File menu, click New Project.
Expand the Visual Studio node. Click Distribution Units.
Click ZIP File.
Make any adjustments to the name and location, if needed. Select Close current solution or Add to current solution, as needed.
- 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.