Deployment Tasks and Walkthroughs

The following topics provide step-by-step examples of some common deployment scenarios.

In This Section

Topic

Description

How to: Install Prerequisites in Windows Installer Deployment

Describes how to enable and disable the installation of prerequisites, and how to specify the download location for prerequisites.

How to: Create or Add Deployment Projects

Describes how to create a new deployment project or add an existing deployment project to a solution.

How to: Create or Add a Setup Project

Explains how to create a new setup project or add an existing setup project to a solution.

How to: Create or Add a Merge Module Project

Gives directions for creating a new merge module project or adding an existing merge module project to a solution.

How to: Create or Add a Cab Project

Describes how to create a new Cab project or add an existing Cab project to a solution.

How to: Set Deployment Project Properties

Explains how to set the properties for a deployment project.

How to: Add Items to a Deployment Project

Discusses how to add files, outputs, or other items to a deployment project.

How to: Add Merge Modules to a Deployment Project

Explains how to add a merge module to a deployment project.

How to: Add and Remove Icons

Describes how to install and associate icons with your application during installation on a target computer.

How to: Exclude Items from a Deployment Project

Describes how to prevent project items from being included in an installer.

How to: Set Conditional Installation Based on Operating System Versions

Demonstrates conditional installation based on a Windows Installer value.

How to: Set Conditional Installation Based on User Choices

Demonstrates conditional installation based on a value entered by a user during installation.

How to: Create a Windows Installer for a 64-bit Platform

Describes how to create 64-bit MSI package.

Walkthrough: Deploying a Windows-based Application

Guides you through deploying an application to another computer.

Walkthrough: Installing Shared Components Using Merge Modules

Guides you through packaging a component in a merge module and then including the merge module in an installer.

Walkthrough: Creating a Custom Action

Guides you through creating a custom action to send a user to a Web site following installation.

Walkthrough: Using a Custom Action to Display a Message at Installation

Demonstrates passing data to a dynamic property during installation using a custom action and the CustomActionData property.

Walkthrough: Using a Custom Action to Compile a Binary to Native Code at Installation

Guides you through creating a custom action to pre-compile an assembly after installation.

Walkthrough: Using a Custom Action to Create a Database at Installation

Guides you through creating a custom action to create a database during installation.

Walkthrough: Redirecting an Application to Target a Different Web Service at Installation

Demonstrates how to create a Web application that can be redirected to target a different XML Web service by using the URL Behavior property, an Installer class, and a Web Setup project.

Topic

Description

Customizing Windows Installer Packages

Provides links to topics on various concepts related to deployment.

Visual Studio Installer Deployment

Describes Windows Installer technology as it works in Visual Studio.

Creating a CAB File

Guides you through distributing an ActiveX control.

Troubleshooting Setup and Deployment Projects

Presents some common errors that can occur with deployment and how to prevent them.