I got this error trying to install SQL Server. I unistalled every Sql from contorl panel and delete Microsoft SQL Server from Program Files before trying to install again. I have the same error. I tried this link https://www.mssqltips.com/sqlservertip/4050/cleanly-uninstalling-stubborn-sql-server-components/ but i get an error on the line : $a = c:\temp\msiinv.exe -s | Select-String "SQL Server" -Context 1,1;
Any suggestion?