15 out of 62 rated this helpful Rate this topic

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.

Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ
Make ClickOnce start 3rd party installs

Missing prerequisites are detected and installed by using the bootstrapper. just run the Setup.exe that is generated; no need for a manual .bat file. For more information, see http://msdn.microsoft.com/en-us/library/h4k032e1.aspx.

Info on .XPAB
@arkmvel ... Thomas Lee: you need to add MIME types in you IIS application MIME type. This link will provide you some help

http://www.google.co.in/url?sa=t&source=web&ct=res&cd=2&ved=0CAkQFjAB&url=http%3A%2F%2Fblogs.iis.net%2Fbills%2Farchive%2F2008%2F03%2F25%2Fhow-to-add-mime-types-with-iis7-web-config.aspx&rct=j&q=adding+MIME+types&ei=qnCrS-S8Os2IkAW1kMHDDQ&usg=AFQjCNGiDRJsJn30esUc9TULpQWMTb4jYQ
ClickOnce still checks for updates
I have used the ClickOnce API's to programmatically check for updates in one of my applications for a couple of years now. For some reason, after the last update I made, it decided it wanted to check for updates on it's own, even though the "application should check for updates" checkbox in the Application Updates section is unchecked. This is a problem because I want to be able to control when the application is ready for general use and I do so by comparing the published version to a version number I have in a database. With ClickOnce always checking, I no longer have any control. Any ideas as to why this is now happening?
Need some info
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
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

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&
Really need Info
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

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&
Advertisement