Sign in
Windows Forms Documentation Updates
We're the Windows Forms User Education team at Microsoft. We use this space to update folks on developments with Windows Forms docs, publishing doc updates before they're published. Feel free to ask us questions about WinForms, and we'll do our best to an
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Tags
Application Settings
ClickOnce
Container Controls and Layout
Crossbow
Data Binding
DataGridView
ElementHost
Form and Application Classes
Pages
ToolStrip Control
WebBrowser, HTML, Networking
Windows Forms Globalization and Localization
WindowsFormsHost
WPF
XML, XSL & RSS
Archive
Archives
May 2008
(1)
January 2008
(1)
December 2007
(5)
September 2007
(1)
June 2007
(1)
May 2007
(4)
April 2007
(3)
February 2007
(1)
November 2006
(1)
October 2006
(2)
August 2006
(3)
July 2006
(5)
June 2006
(7)
May 2006
(4)
April 2006
(10)
March 2006
(10)
February 2006
(6)
January 2006
(5)
ClickOnce Identities: What They Are, Why You Should Care
MSDN Blogs
>
Windows Forms Documentation Updates
>
ClickOnce Identities: What They Are, Why You Should Care
ClickOnce Identities: What They Are, Why You Should Care
Jay A. Allen
20 Apr 2006 6:55 PM
Comments
0
I haven't written much in the ClickOnce docs about the concept of a ClickOnce identity. Recent support inquiries have shown me that an understanding of this concept can help solve some very confusing problems.
What is a ClickOnce Identity
? The identity of a ClickOnce application is expressed by all of the properties (minus version) of the applicationIdentity element in the deployment manifest:
Application name (specified as "Product Name" in Visual Studio)
Public key token
Language
Processor architecture
Why Should I Care
? If two ClickOnce deployments have an applicationIdentity element with all four of these attributes in common, then they are deploying the same application
regardless of the location of the deployments
.
In other words, say that you have created two separate applications. Both of the projects are named Foo in Visual Studio. By default, Visual Studio will use the name Foo.application for the Product Name field. If you sign both applications with the same public key token, and deploy both to the same machine, you will only have
one
installed application. The same thing will happen if you attempt to create two "separate" deployments of the same application without changing the product name.
What happens if the version numbers are different? If your first Foo.application deployment is version 1.0.0.0, and your second Foo.application deployment is 1.0.0.1, the second deployment will overwrite the first. ClickOnce will consider the second deployment as an update of the first.
You can alter the identity of your application in Visual Studio by either:
Changing the Product name. Right-click your project in VS. Select
Properties
. On the
Publish
tab, click
Options
. Enter the new name into the
Product name
dialog.
Signing it with a different public key.
0 Comments
ClickOnce
Blog - Comment List MSDN TechNet
Comments
Loading...