XP has to be at least at SP2 for Avast to install and it should be updated to SP3.