Welcome to Microsoft Q&A.
Could you please check the log C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20211013_085436\sqlncli_Cpu64_1.log and detail.txt?
Please refer to the following familiar thread which might be helpful:
Installing sql server 2016, a dll could not be run error code 1723
How Can i Solve this problem
14 people are following this question.