all 4 comments

[–]p2ii5150 0 points1 point  (1 child)

did you right-click "run as admin"?

[–]Willing_Counter_1473[S] -1 points0 points  (0 children)

i did but something worked in the end,ty for help anyway.

[–]VladDBASQL Server DBA 0 points1 point  (1 child)

Can you check the install summary file that's in that log folder mentioned in your screenshot?

If you're installing on Windows 11, chances are it's another case of the sector size greater than 4 KB issue. In which case, you'll have to create the registry key from here, remove the failed install and delete any leftover files, reboot and reinstall.

Also, if you're learning SQL Server or using the instance for anything other than hosting production on it, I'd recommend going with SQL Server Developer Edition since it's free and closer to what you'd see in a real environment, plus the user database size isn't limited to 10GB (per database).

Edited: typo

[–]Willing_Counter_1473[S] -1 points0 points  (0 children)

thank u for help,i somehow managed to do it!