Hi @Daniel Silva
Try to apply the solution mentioned in this thread I think you are facing the same issue :
SQL Server 2019 installation failed with 2068052310 Exit code
Please check if this ODBC Driver exists in the control panel -> uninstall program page, if yes, please uninstall it and the failed installation SQL Server, then reinstall SQL Server as administrator, if the installation still fails, please manually Download ODBC Driver for SQL Server
Please don't forget to accept helpful answer