1

I have created an application I send (by email) with ClickOnce with Visual Studio C#. Someone gets the following error:

Your administrator has blocked this application because it potentially poses a security risk to your computer. Your security settings do not allow this application to be installed on your computer.

He uses Windows 7, 64 bits.

What can/should he do to be able to install the application?

Thanks in advance.

2 Answers2

2

I think the issue really is that the system has the flag "do not allow unsigned code" enabled. This would make the downloaded file "blocked" by default if the code is not signed. Did you sign your code with a valid Authenticode certificate? Ask the user to right click the executable, and then find the "unblock" button. I cannot remember exactly which tab the button is on. I think that might fix your issue

Jim H.
  • 36
  • Thanks for the answer; I'm afraid I cannot contact the person with that specific problem. I don't have the problem myself. However, my code is not authenticated (I would need a costly MS verisign code which I cannot afford as it is being used for a hobby project). – Michel Keijzers Aug 20 '13 at 20:17
1

Make sure the following registry keys are enabled:

[HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\.NETFramework\Security\TrustManager\PromptingLevel]

LocalIntranet = Enabled

TrustedSites = Enabled

The Logitech mouse/keyboard driver update appears to be disabling these registry keys.

Glorfindel
  • 4,099
Daxzeal
  • 11