Hi @yensur thahir112,
To better narrow down the issue, could you please post Setup logs to get more details. View and Read SQL Server Setup Log Files - SQL Server | Microsoft Learn.
In addition, there are similar issues, 2017 Installation Will Not Complete: Error Decompressing SQL Server Media | Microsoft Learn , installation - "Oops" error while installing SQL Server 2017 developer edition on Windows 10 - Stack Overflow, you can follow the steps in the articles to check whether your issue can be resolved.
Best regards,
Lucy Chen
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.
https://docs.microsoft.com/en-us/answers/support/email-notifications