For me it was this error:
The specified directory, "C:\Program Files (x86)\Microsoft SQL Server", for the INSTALLSHAREDWOWDIR parameter is not valid because this directory is compressed or is in a compressed directory.
Installed fine after removing compression attribute from folder.