Looking at the log, I have an impression that the installation fails because MSDE is already installed on that machine.
Do you have another instance of MSDE installed on that machine? If so, is it a named or unnamed instance? Did you use the default "avast" instance name when installing the AMS MSDE?
Also, what subfolders are there under the C:\Program Files\Microsoft SQL Server folder?
Thanks
Vlk