Well, you have your nose on the 2 most likely causes already.
Dig. signing of course is obvious how to deal with.
File Rep., there is nothing you can do about that if you are making your own software or it is not widely distributed. If it has no reputation, it has a good chance of being considered suspicious. That is what Avast!'s myriad of exclusion options are for.