Advertisement

Pro WPF 4.5 in C# pp 1021-1040 | Cite as

ClickOnce Deployment

  • Matthew MacDonald

Abstract

Sooner or later, you’ll want to unleash your WPF applications on the world. Although you can use dozens of ways to transfer an application from your development computer to an end user’s desktop, most WPF applications use one of the following deployment strategies:
  • Run in the browser: If you create a page-based WPF application, you can run it right in the browser. You don’t need to install anything. However, your application needs to be able to function with a very limited set of privileges. (For example, you won’t be allowed to access arbitrary files, use the Windows Registry, pop up new windows, and so on.) You learned about this approach in Chapter 24.

  • Deploy via the browser: WPF applications integrate closely with the ClickOnce setup feature, which allows users to launch a setup program from a browser page. Best of all, applications that are installed through ClickOnce can be configured to check for updates automatically. On the negative side, you have little ability to customize your setup and no way to perform system configuration tasks (such as modifying the Windows Registry, creating a database, and so on).

  • Deploy via a traditional setup program: This approach still lives on in the WPF world. If you choose this option, it’s up to you whether you want to create a full-fledged Windows Installer setup or a more streamlined (but more limited) ClickOnce setup. After you’ve built your setup, you can choose to distribute it by placing it on a CD, in an e-mail attachment, on a network share, and so on.

Keywords

Visual Studio Version Number Network Share Installation Location Insta Llation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Matthew MacDonald 2012

Authors and Affiliations

  • Matthew MacDonald

There are no affiliations available

Personalised recommendations