|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Deploying C# Applications
Deployment is the process by which you distribute a finished application or component to be installed on other computers. For console applications, or Smart Client applications based on Windows Forms, two deployment options are available: ClickOnce and Windows Installer.
ClickOnce deployment allows you to publish Windows applications to a Web server or network file share for simplified installation. For most scenarios, ClickOnce is the recommended option for deployment because it enables self-updating Windows-based applications that can be installed and run with minimal user interaction.
To configure properties for ClickOnce deployment, you can use the(accessible from the Build menu) or the Publish page in the Project Designer. For more information, see . For more information about ClickOnce, see .
Windows Installer deployment allows you to create installer packages to be distributed to users; the user runs the setup file and steps through a wizard to install the application. This is done by adding a Setup project to your solution; when built, it creates a setup file that you distribute to users; the user runs the setup file and steps through a wizard to install the application.
For more information about Windows Installer, see.