Additional SQL Server features and topics not covered by specific categories
There seems to be a glitch. I get the same error on both Windows 10 and Windows 11. I found that if I click the link in the error message, I get further. That is, I get the screen where I can select Basic, Custom and Download Media. I selected Download Media and continued with that installer, I am able to complete the installation successfully.
I have alerted some people I know at Microsoft about the message you got. While benign, it is not pretty.