Did you try to perform a clean installation with the latest version using the off-line installer ?
If avast is giving you a error, what it the error code/message ?