Avast Antivirus installer is unable to continue because the
installer is corrupted or is forbidden to run on this machine.
For more information please see the Setup.log file.
You should first check and properly remove other 3rd party antivirus software (not Windows Security) as stated by @Pondus.
If you have a poor internet connection there is a chance the installer got corrupted.
Have you tried more than once?
If true, maybe download and run the offline installer, from the link Avast provided here: https://forum.avast.com/index.php?topic=322940.0