Let me guess by your words: You try to install a new downloaded setup or you tried to update your old version and avast said that the package is broken and you have to download it again.
To help you more, please, say what is your avast! version and which OS do you use. Can you manual update avast?