Of course, this is not suppose to be happening, did you use Avast Uninstall for complete desinstallation before you install avast! again?
The downloaded file is ok? Did you have any other antivirus application running in your system?