This post shows you How to fix 'The specified directory, “C:\Program Files (x86)\Microsoft SQL Server\”, for the INSTALLSHAREDDIR parameter is not valid because this directory is compressed or is in a compressed directory. Specify a directory that is not compressed.'

Error code 0x858C001E

sql server setup failure


64 bit

C:\Program Files (x86)\Microsoft SQL Server

32 bit

C:\Program Files\Microsoft SQL Server

Right-clicking on your folder, then select properties

microsoft sql server properties

Clicking Advanced button

advanced attributes

Uncheck "Compress contents to save disk space", then click OK button.

Finally, Reinstall your SQL Server.