I get this message from people that they are not able to install Avast antivirus on windows 10and I have also faced this issue but I have also fixed this issue by myself. When I got this error I just turned off my windows defender system for some time and the Avast antivirus was installed without any problem.