Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
Do you have any install rights at all? –  soandos Apr 22 '12 at 20:30
    
It's not my computer ... you mean he might not even have administrator rights? I would have thought another warning would be given (that it would not be because of security risks) –  Michel Keijzers Apr 22 '12 at 20:32
3  
Did they launch it from the email client, if launched from the email client, copy the file to a folder on the hard drive, then try launching. –  Moab Apr 22 '12 at 20:45
    
That sounds like AppLocker or Software Restriction Policies to me. If so, the computer is probably configured so that it won't run any software that hasn't been explicitly approved by the system administrator. He should probably ask his tech support people for assistance. –  Harry Johnston Apr 23 '12 at 4:44
    
Thanks .. still awaiting his answer if he has administrator rights (I assume it's his own computer at home; not work related). –  Michel Keijzers Apr 23 '12 at 8:13
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.