ClickOnce Deployment 
This page is specific to:.NET Framework Version:2.03.54.0
Deployment in Visual Studio 
ClickOnce Deployment 

ClickOnce deployment allows you to publish Windows-based applications to a Web server or network file share for simplified installation. Visual Studio provides full support for publishing and updating applications deployed with ClickOnce. ClickOnce deployment is available for projects created with Visual Basic, Visual C#, and Visual J#, but not for Visual C++. For information on deploying Visual C++ applications, see ClickOnce Deployment for Visual C++ Applications.

The following topics will help you learn more about ClickOnce deployment.

In This Section

ClickOnce Deployment Overview

Provides an introduction to ClickOnce deployment technology and related concepts.

Choosing a ClickOnce Deployment Strategy

Presents several options for deploying ClickOnce applications.

Choosing a ClickOnce Update Strategy

Presents several options for updating ClickOnce applications.

ClickOnce Deployment and Security

Explains the security implications of ClickOnce deployment.

Publishing ClickOnce Applications

This section contains task topics that explain how to perform the common tasks involved in a ClickOnce deployment.

Securing ClickOnce Applications

Explains the security features of ClickOnce deployment and the role of code access security and security zones.

Signing ClickOnce Manifests

Explains how to sign application and deployment manifests.

Deploying COM Components with ClickOnce

Explains how to sign application and deployment manifests.

Building ClickOnce Applications from the Command Line

Explains how to use MSBuild to deploy applications from the command line.

Debugging ClickOnce Applications that Use System.Deployment.Application

Explains how to debug applications that implement elements of the System.Deployment.Application namespace, which provide advanced ClickOnce deployment features.

Troubleshooting ClickOnce Deployment

Provides information on troubleshooting common problems you might encounter in ClickOnce deployment.

Related Sections

Choosing a Deployment Strategy

Compares ClickOnce and Windows Installer deployment.

What's New in Deployment

Lists new features in Microsoft Visual Studio 2005 such as ClickOnce deployment and 64-bit application deployment.

Deploying 64-bit Applications

Provides information on how to deploy a 64-bit application using ClickOnce or Windows Installer deployment.

Adding Custom Prerequisites

Explains how to install custom prerequisites (system components not included by default in the bootstrapper).

Windows Installer Deployment

This section describes Windows Installer, the traditional deployment technology using Setup projects.

Deployment Error Messages

Descriptions of error messages related to ClickOnce and Windows Installer deployment.

Community Content

Need some info
Added by:Thomas Lee
I'm seeing a lot of info about ClickOnce, but there is stuff I'm finding that is not listed. I had to go off site to determine how to generate signatures which was a PITA. But now I'm trying to determine if 3rd party apps can be added to the install. I don't see a way of adding them, so it looks like I may not be able to make this work and will have to go to another solution. If I am right, please point me toward a solution as I've then wasted a good 2-3 days on this and my manager is getting a bit annoyed.

Thanks.

[tfl - 14 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Need info
Added by:Thomas Lee
I had thought I had posted here, but I don't see it so I'll post it again.

This site has a lot of info on ClickOnce, but has a lot of missing info too, such as how to generate certificates. For that I had to go off site which was a PITA. But oh well. Right now I am trying to determine if 3rd party apps with install programmes can be added to the manifest. I'm getting the feeling that this is not so which is a problem as I've used 2-3 days on exploring this tech.

If I am wrong:

please point me at the right information as how to do this

else:

please point me to some tech which can do this.


[tfl - 14 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Need Info
Added by:Thomas Lee

I deployed wpf browser application in server. Its working fine in the server machine. i am trying to access from client browser (ie5.0). Its showing unknown file type .xbap. How to rectify.


Please point me at the right info as how to do this.

[tfl - 14 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
Make ClickOnce start 3rd party installs
Added by:KeepItSimple
To make clickonce install more than 1 app, you could simply edit the app.htm file after it is published and re-point it to a .bat file. The .bat file would contain all the installs in your prefered order. They will start sequentially (this might be simplistic but what do you expect from me?).
Really need Info
Added by:Thomas Lee
I'm looking for a way for copying a VS application files via HTTP and TCP? I mean i have published my application
and now i am trying to find something like ClickOnce application that copies my updated files from my website to the clients'
centers through HTTP and then locally to end users through FTP. I need to a source code or something like that. thanks.


[tfl - 14 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
ClickOnce is not updating no error
Added by:Thomas Lee

when I increment the version (publish and application) already installed applications don't auto update on next launce. No error, please help.


[tfl - 14 11 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View