How do you deal with false positives from antivirus companies (Avast and ClamAV)?

Possible solution for workaround, I'm using hstart in the automatic update system, removing this should fix my problem.

EDIT: This "fixed" my problem, they where detecting hstart.exe...

Solution for others may be the following:

  • Take backups. Install the Anti virus program doing false detections (ClamAV and Avast in my case).
  • Scan you source code. If you're lucky it will show you what file contains the false detection (in my case it was a resource), REMEMBER IF IT FINDS THE FAULT IN THESE WAY ITS LIKELY TO DELETE THE "PROBLEM"

In the end, there's going to be no one technique that will solve your problem. Signing won't help, and changing names probably won't help; otherwise viruses would use those same ideas to circumvent security. Those AV products have found some chunk of code that matches the virus, and aren't smart enough to distinguish. I would suggest contacting the specific AV providers and getting them to whitelist you.