avast scans files on access, including any software installation. Of course, there are false negatives or false positives like any other detection antivirus.