Chapter 16. Deploy .NET Applications Deploy .NET Applications

Deployment is the process used to distribute a finished application (or component) to be installed on other computers

Deployment Challenges
Platform requirements Intuitive and easy installer UI Application artifact placement
Files / Folders Registry Global Assembly Cache Databases

Custom install procedures Removing installation artifacts at uninstall Handling Errors Windows installer will help

2

Windows Installer
Application installation and configuration service Manages installation and removal of applications Centrally defined rules and repository Provides disaster recovery and rollback mechanisms

Deployment Models using the .NET Framework
1. xcopy deployment 2. No-Touch Deployment (NTD)
.NET Framework 2.0: ClickOnce

3. Setup and Deployment Projects
Custom Installers: Serial