Share via


Deployment Projects

Visual Studio provides templates for four types of deployment projects: Merge Module Project, Setup Project, Web Setup Project, and Cab Project. In addition, a Setup wizard is provided to help step you through the process of creating deployment projects. You can see the templates and the wizard in the New Project dialog box under the Setup and Deployment Projects node.

Note   Only Setup Projects are available in the Standard Edition of Visual Basic .NET. For more information, see Visual Basic Standard Edition Features.

The following are guidelines for choosing the right type of deployment project for your project.

Project Type Purpose
Merge Module Project Packages components that might be shared by multiple applications.
Setup Project Builds an installer for a Windows-based application.
Web Setup Project Builds an installer for a Web application.
Cab Project Creates a cabinet file for downloading to a legacy Web browser.

Merge Module projects allow you to package files or components into a single module to facilitate sharing. The resulting .msm files can be included in any other deployment project.

Cab projects allow you to create a .cab file to package ActiveX components that can be downloaded from a Web server to a Web browser. The distinction between Setup and Web Setup projects is where the installer will be deployed:

  • For a Setup project, the installer will install files into a Program Files directory on a target computer.

  • For a Web Setup project, the installer will install files into a Virtual Root directory on a Web server.

    Caution   Once created, the type of a project cannot be changed between Web and standard. If you have created a standard deployment project and later decide to deploy it to a Web, you will need to create a new project.

See Also

Merge Module Projects | Setup Projects | Cab File Projects | Adding Items to a Deployment Project | Creating or Adding Deployment Projects | What's New in Deployment | Projects and Solutions, Environment, Options Dialog Box