Deployment Samples and Walkthroughs
This section contains sample applications, example code, and step-by-step walkthroughs that illustrate the syntax, structure, and techniques used to deploy Windows Forms, WPF, and console applications.
The sample code is intended for instructional purposes, and should not be used in deployed solutions without modifications. In particular, security must be taken into greater consideration.
For information about securing applications, see the following help topics:
Windows Installer
Topic |
Description |
---|---|
Guides you through deploying an application to another computer. |
|
Guides you through packaging a component in a merge module and then including the merge module in an installer. |
|
Guides you through creating a custom action to send a user to a Web site following installation. |
|
Guides you through creating a custom action to pass data entered during installation to a custom action that modifies a configuration file. |
|
Using a Custom Action to Pre-Compile an Assembly at Installation |
Guides you through creating a custom action to precompile an assembly after installation. |
Guides you through creating a custom action to create a database during installation. |
|
Redirecting an Application to Target a Different XML 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. |
ClickOnce Deployment
Topic |
Description |
---|---|
Explains how to use .NET Framework utilities to deploy your ClickOnce application. |
|
Downloading Assemblies on Demand with the ClickOnce Deployment API |
Demonstrates how to mark certain assemblies in your application as "optional," and how to download them using classes in the System.Deployment.Application namespace. |
Downloading Assemblies On Demand with the ClickOnce Deployment API Using the Designer |
Explains how to download application assemblies only when they are first used by the application. |