Do it like this and let’s see what happens:
https://forum.avast.com/index.php?topic=147943.msg1074614#msg1074614

Disable Windows Defender before installing avast.