Your virus was not recognized as a virus. It was marked as a program from a source not recognized by Microsoft, which is very different.
Every "computer boy" knows that parente leigo com acesso de administrador + Windows = ninho de malwares a procriar e evoluir
. It’s been like this since Windows 95, maybe even earlier. In an attempt to clear the Windows reputation of vulnerable system and put the blame on the user, Microsoft from time to time launches some initiative like the User Account Control, which is what you saw.
It works like this: every time the user tries to install or run something that may damage the computer, it gives a warning: "Look, if you run this thing you can f... fuck me, and it’ll be all your fault, see?". Obviously, the user gives this small notice the same treatment that he usually gives to license agreements.
So you have two ways to deal with this:
Deactivate the UAC: I leave it to you to research how to do that. Unfortunately, it is a change that has to be machine-to-machine, locally, and affects not only your application. Costly and arguably unethical.
Buy a license from Authenticode and digitally sign your app. It is up to you also to study what a digital signature is, and how it guarantees the authenticity of what is signed in this way. This does not guarantee that someone will not use the signature on a virus, but it is expensive, bureaucratic and they will know where you live.
It is probably because Windows cannot guarantee that the source of the program is secure through the digital certificate. I don’t know much about the process, but on that website has a tutorial on how to export and install your computer key in others, making it a reliable source.
– Woss