Hi, @alan gao
Agree with Ashok, please post the detailed Exchange setup log about the error message.
Besides, here is a thread in the similar situation which may be helpful: Exchange 2013 cannot upgrade from CU9 to CU23 without the CU9 install media
Please refer to the answer and see if it works for you.
Also please note that serious problems might occur if you modify the registry incorrectly.
If the response is helpful, please click "Accept Answer" and upvote it.
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.