Avastclear tool http://files.avast.com/iavs9x/avastclear.exe, run the tool and it will ask to reboot to safemode which you need to accept and when finished reboot back to normal mode.

Also run CCleaner disk and registry clean/reboot and then re-try your install.