Use ClickOnce to Deploy Windows Applications

By Wei-Meng Lee

In this step-by-step guide you'll learn how to use ClickOnce, a new technology in Visual Studio 2005, to quickly get your Windows application into the hands of your customers. You'll also learn how ClickOnce can help you customize the installation of your application, how to add security to your distributions, how to update COM files without corrupting DLLs, and more.

Deployment is a key to success for your software product—if you can't deliver your application, you're sunk. Use ClickOnce to Deploy Windows Applications shows you how easy it is to use ClickOnce to deploy, update, and maintain your Windows apps through web servers, file servers, or even CDs.

Deployment is a key to success for your application—if you can't get your product to market, you're sunk. ClickOnce, a new technology in Visual Studio 2005, lets you quickly and easily deploy your Windows apps via web servers, file servers, or even CDs.

ClickOnce delivers web-style deployment of your application, but that's only part of the story. Once your users have installed an application using ClickOnce, it can automatically check for new updates, which saves time in maintenance and upgrades. And on the security front, a ClickOnce application runs within a secure sandbox and you configure it using the Code Access Security model.

So how can you take advantage of this new technology? In this step-by-step guide to using ClickOnce, you'll learn how to use ClickOnce to quickly get your product into the hands of your customers. You'll also learn key installation customizations, how to add security to your distributions, how to update COM files without corrupting DLLs, and more. The Appendix covers how to create an application in Visual Studio 2005. The application will be used to illustrate the security features of applications deployed using ClickOnce.

Note

Currently, ClickOnce works only with Internet Explorer.

Contents

Using ClickOnce to Get Your Application to Market

How to install, run, update, and unistall a Windows application via ClickOnce

 

Customizing the Installation of Your Application

How to take advantage of ClickOnce installation configurations

 

Configuring ClickOnce Security

Using Code Access Security for permissions, and signing tips

 

Updating Unmanaged Components Using RegFree COM

Avoiding the problems of "DLL hell"

 

Summary

Appendix: Creating a Windows Application for ClickOnce

How to create a Windows application using Visual Studio 2005

 

Get Use ClickOnce to Deploy Windows Applications now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.