Please provide more details. We can help with a lot of things, but we still haven't mastered the skill of mindreading
What windows version?
Do you have any other problems?
Did you closed all running applications while trying to install?
Are there services shutdown?
Are there errors in the event log and/or the system log?
Are there errors in the Avast setup log?