Click here to Skip to main content
15,896,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am currently installing a VB2010 application to my clients and I have noticed that shortly after installation, the application file gets deleted by antivirus software installed by clients.
Is there a way to write code in the application to add it to any antivirus, or is there something else i can do other than individually adding it to the exception list of the clients machines?

I have never coded registry applications, but would like to know if this might be an answer; I have avoided this since I see that the usual way for hackers to crack software is to alter what the software writes in the registry. I am more keen on a possibility to code a way to add the application files to any antivirus' exception lists.

thanks.
Posted
Updated 1-May-11 0:32am
v2

1 solution

Instead of trying to add it to a Antivirus safe list all by itself, you should look at why it's being considered a virus.

Thus instead of removing the cause you are trying to hide it out. For me as a client, not agreeable at all.
For me, it's like a malicious software for me that I would prefer to not install.
 
Share this answer
 
Comments
cyberexel 2-May-11 6:39am    
Thanks.
My computer runs Kasperskys Internet Security 2011. I did not think i can have a virus, or output files with viruses. You sound like that is possible... but I am at a loss where to start!
Also, when I dont add my vs folder to Kaspersky's exception lists I can't even run the applications in debug mode. I contacted other antivirus support and they advice to add vs projects folder to exception. It seems that is a very wrong idea. Can you advice?
Sandeep Mewara 2-May-11 6:45am    
I contacted other antivirus support and they advice to add vs projects folder to exception
Not a good resolution. Surely your application is doing something 'illegal' from antivirus prospective. You should try to find that out.
cyberexel 2-May-11 22:31pm    
Dear Mewara,
I hope you dont mind to walk me through a solution here. I have removed the exceptions in my computer. I have scanned all folders. I have rescanned the vs projects folders and confirmed no virus found. However, now I cannot debug the applications; when I try to the Kaspersky's antivirus blocks the creation of the applications .exe file and deletes it, then the debug reports an error and cannot continue. I agree with you there is something 'illegal' in my computer/application... Kaspersky's finds the exe file to contain trojan.win32.generic, which means Kaspersky is still not sure how to deal with it so it is just quarantined. Plus since thsi is created when vs creates the exe file (I believe transitively) I cant find the virus if I scan my computer. After doing all this I really dont know how to resolve it now. I appreciate you help.
Sandeep Mewara 3-May-11 0:51am    
It's difficult to walk you through. Based on what you say, you need to find how the exe contains "trojan.win32.generic"? may be the files embedded in it and the way it is working makes it feel like a trojan.
cyberexel 5-May-11 10:18am    
Hi Mewara,
I got the solution. I copied the solution into a flash disk. then deleted the one in my computer. this allowed my av to delete the affected file in the flash disk when I scanned it. i then pasted it back to my computer. visual studio then created a new exe file on debug, which is now clean :) phew!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900