1. Run Enhanced Interface and go to Task section.
2. Make a copy of Resident Protection and make it default,right-click on it and select Edit.
3. Check Advanced configuration
You have Virus (Radioactive icon) under every provider.
Click on this and Click Remove last word,so you'll have empty white box above. Than just select in which order you want to perform induvidual actions.
I recommend you set it like this:
repair
if failed delete file
if failed choose action
This will automatically repair every fail if possible (VRDB) and than if this is not possible it will delete the file. If even this is not possible,Avast! will ask you to select action with select box.
4. Run this copied task
Simple and efficient