Same problem happened yesterday when I tried to install Avast on my Newly Purchased Laptop with Windows 10 - Its working fine on this laptop with Windows 7 since a very long time. I did a system restore to correct it Now I am scared to try to install it again on my new laptop. I downloaded the Premier Version from here "https://www.avast.com//en-in/index" - I love Avast but do not know whether to try again to install it.
I suggest that you do a Clean install of Avast. Did this new computer come with a trial of another AV
Most do and if yours did, how did you remove it
Follow the instructions in my signature to "Successfully Install Avast".