- Clickonce Application Installer
- Clickonce Application Install Security Warning
- Clickonce Application Install Error
- Unable To Install Clickonce Application
Active5 years, 7 months ago
I have a clickonce application that is deployed on the website (say, http://example.com) and users will download the setup.exe file of my published application from that website and install the application on their computer.
I have signed the ClickOnce manifests of my application with the Certificate issued by GoDaddy for my company.
Unable to Install ClickOnce Application due to Security Settings (Windows 10). To adjust this, simply change the values in the Registry and you should be able to install the application. To enable the ClickOnce trust prompt by using the registry editor Open the registry editor.
But, the User still get the following Application Security Warning when they try to install my application. Is there a way around so that this security warning will not be shown at all?
Any help will be appreciated.
Butters
ButtersButters4823 gold badges12 silver badges25 bronze badges
1 Answer
Well, you have to follow the steps in the MSDN-library (source):
When a ClickOnce application is being launched on a user's desktop the first time, the .NET Framework runtime will first check to ensure that the application manifests have not been tampered with since they were signed with whatever publisher certificate was used for signing. If they pass that check, the runtime will then look into the Trusted Root Certification Authority store and see if the certificate for the issuer of the publisher's certificate is installed in that store. It will then look at who the publisher on the certificate is, and see if their certificate is in the Trusted Publishers store. If those two things are true, then by default the user will not be prompted, and the application will be granted whatever privileges are specified in the application manifest file.
As long as the end user hasn't modified his notification settings, the prompt won't show up.
HerdoHerdo4,9081 gold badge27 silver badges51 bronze badges
Not the answer you're looking for? Browse other questions tagged c#deploymentwarningsclickoncecode-signing-certificate or ask your own question.
Active10 months ago
When attempting to install a Microsoft-signed ClickOnce application, an error appears stating 'Your administrator has blocked this application because it potentially poses a security risk to your computer' and 'Your security settings do not allow this application to be installed on your computer'.
As the administrator who would have set said policies, I cannot for the life of me figure out why this is being blocked for just one user and not other users whose PCs are based off the same image and why it works for other users who should be enjoying the same privileges as the user who is receiving the following message. Note that the exact same domain group policies are applied to this user that is experiencing the error and to users who are not receiving the error.
Clickonce Application Installer
Even attempting to run the application 'as an administrator' does not solve the issue. The event logs show no errors, and I cannot otherwise find any logs to help diagnose the issue.
What local policies or settings would allow or deny this application? Safenet superpro driver.
BeemsBeems5473 gold badges10 silver badges21 bronze badges
1 Answer
This is caused by the 'ClickOnce Trust Prompt Behavior': https://msdn.microsoft.com/en-us/library/ee308453.aspx
To adjust this, simply change the values in the Registry and you should be able to install the application.
To enable the ClickOnce trust prompt by using the registry editor Open the registry editor:
Click Start, and then click Run.
In the Open box, type regedit32, and then click OK.
Find the following registry key:
HKEY_LOCAL_MACHINESOFTWAREMICROSOFT.NETFrameworkSecurityTrustManagerPromptingLevel
If the key does not exist, create it.
Add the following subkeys as String Value, if they do not already exist, with the associated values shown in the following table.
On my computer, the values were set to 'Disabled' and I have no clue which application did that. I changed the values to default and now everything works again like it should.
Or you can just delete the key 'TrustManager' itself and everything is working as well.
Thomas SturzeneggerThomas Sturzenegger
Clickonce Application Install Security Warning
protected by Community♦Sep 26 '18 at 11:05
Clickonce Application Install Error
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?