Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to Add A Publisher To My Project.
 

How to Add A Publisher To My Project.

I want to add me to the publisher so that its not "Publisher Unknown". Can anyone tell me how to do this.

Thanks.

Connor Greer  Monday, August 24, 2009 9:16 AM
The publisher is determined by the certificate used to sign the application when deploying it. In order to have it not display "unknown publisher", you have three options that I can think of off the top of my head.

1) Purchase a signing certificate from someone like Verisign.
2) Create a signing certificate using makecert and install it on all of your customer's machines so they will recognize it. (I think that's the link Alan provided above.)
3) Have your enterprise people create a signing certificate. (I'd have to look up the details on that.)

The purpose of the "published by" is to give your customers the assurance that the application is installed by a trusted authority. When you purchase a signing certificate from someone like Verisign, they investigate and make sure you are who you say you are, and then issue you a certificate. When you sign your deployment with this, it shows you as the publisher, and the user knows it is you.

If just anyone could change the "published by", then anyone could change their app to be published by you and hijack your deployment and get your users to install it. So this is a security issue, and not one that you can circumvent. It's not just a setting that you provide somewhere that changes what is displayed on the screen.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 2:36 AM
Hi Connor,

This link shows how to Add a Trusted Publisher to a Client Computer for ClickOnce Applications:
http://msdn.microsoft.com/en-us/library/ms172241.aspx.

Let me know if this helps.
Aland Li

Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Tuesday, August 25, 2009 12:41 PM
thats not what i wanted.

when you are going to install the application i want it to say how the publisher is.
Connor Greer  Saturday, August 29, 2009 12:40 PM
The publisher is determined by the certificate used to sign the application when deploying it. In order to have it not display "unknown publisher", you have three options that I can think of off the top of my head.

1) Purchase a signing certificate from someone like Verisign.
2) Create a signing certificate using makecert and install it on all of your customer's machines so they will recognize it. (I think that's the link Alan provided above.)
3) Have your enterprise people create a signing certificate. (I'd have to look up the details on that.)

The purpose of the "published by" is to give your customers the assurance that the application is installed by a trusted authority. When you purchase a signing certificate from someone like Verisign, they investigate and make sure you are who you say you are, and then issue you a certificate. When you sign your deployment with this, it shows you as the publisher, and the user knows it is you.

If just anyone could change the "published by", then anyone could change their app to be published by you and hijack your deployment and get your users to install it. So this is a security issue, and not one that you can circumvent. It's not just a setting that you provide somewhere that changes what is displayed on the screen.

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Monday, August 31, 2009 2:36 AM

You can use google to search for other answers

Custom Search

More Threads

• ClickOnce fails "Object reference not set to an instance of an object."
• vs2002 deployment reboot and .NET framework
• Installation Icon in task bar
• ClickOnce - MSBuild - Deploying to HTTP
• Click-once application doesn't start
• how to update the application?
• Deployment Visual Studio 2005
• Adding Files when Publishing using ClickOnce
• Distribute application with Visual Basic Express Edition 2008
• Problem with License Agreement