Hi @Nuno Pimenta ,
> Requested action: Repair
> Component error code: 0x84B40002
> Error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
This is a repaired failed setup log. according to the error message, you can not repair the SQL server when you did not have a successful installation. Please remove the failed installation, then reinstall the SQL server.
Please provide us the correct SQL server setup log as Erland mentioned. Refer to MS document View and Read SQL Server Setup Log Files.