Skip to main content

ClickOnce Deployment

  • Chapter
Pro WPF 4.5 in VB
  • 480 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Matthew MacDonald

About this chapter

Cite this chapter

MacDonald, M. (2012). ClickOnce Deployment. In: Pro WPF 4.5 in VB. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4684-8_33

Download citation

Publish with us

Policies and ethics