Hi @Ayan Mondal ,
Pls share more information like summary.txt or detial.txt. You can know how to get the txt from here: (https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?redirectedfrom=MSDN&view=sql-server-ver16)
Or you can just reinstall SQL:
1.Uninstall Software -- Control Panel-Uninstall a Program
2.Remove SQL local installation files. Normally the location: C:\Program Files\Microsoft SQL Server
3.Delete the registry (WIN+R and search regedit)
Delete the files connected with Microsoft SQL Server under HKEY_CURRENT_USER—Software—-Microsoft
Delete the files connected with SQL under HKEY_LOCAL_mACHINE—SOFTWARE—Microsoft
In case missing something you can download windows installer clean up
At last, try reinstalling the SQL
Wish you good luck !
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"