Hi @Iratxe De Osa ,
Is it your first time to install SQL Server 2019? Could you tell me your OS architecture and Process architecture? You can check it from setup summary log(C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log). Here has an exit code of a case is same as you, and the OP had got an useful answer.
If you have uninstall and reinstall SQL Server, please refer to Exit code (Decimal): -2068119551 Cannot find registry key to get solutions. Please noted that if there have important data in SQL Server, please remember to backup all of database. And if you need to delete regedit, remember to backup regeditalso.
If the solustions can't help you, please provide the setup summary log and detail log. Thank you.
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.