Open Avast-Settings-Global Exclusions-Browse-Select your program/folder and click OK-OK and that,s it.