Creating a Zip Archive (.zip) File

Visual Studio 6.0

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

  1. Display the output format tab.

  2. In the Output Format dialog box, select Enable Packaging. From the Packaging type drop-down list, choose the Zip Archive (.ZIP) packaging type.

  3. Pick the contents that you want in the cabinet file. See Setting the Outputs of a Visual J++ Project.

  4. In the Visual J++ project properties dialog box, click OK or Apply.

To create a .zip file using a distribution unit project

  1. On the File menu, click New Project.

  2. Expand the Visual Studio node. Click Distribution Units.

  3. Click ZIP File.

  4. Make any adjustments to the name and location, if needed. Select Close current solution or Add to current solution, as needed.

  5. Click Open.

  6. 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.