Hi Damian79,
Good to hear you found the solution for your problem.
Just download the latest Windows 10 installer ISO from Microsoft and you will not run into this same problem (having to install Windows update before installing Avast).
The latest Windows Installer ISO file can be download from this site:
https://www.microsoft.com/en-ca/software-download/windows10ISO