Does anyone know how to force the user to restart the computer after finishing the installation? With the AlwaysRestart=yes Setup's directive, all it does is to prompt the user to restart, to choose between now or later, but it does not actually restart automatically or only shows the option to 'restart now'. Is it possible?
Thanks.
No. That is not possible. This is hardcoded
and there is no event which would fire to let it change (e.g. by hiding the No, I will restart the computer later radio button).
But that is correct. You should never shutdown the system without the user's permission. They may lose data when you would do so.