Thank you for the answer.
In this case, I suggest this feature: when performing the prerequisite condition search the second time, after the prerequisite has been installed, if the result is "Failed", but that prerequisite has been configured with "Reboot system after installing this prerequisite ...