I am working on a LabVIEW application and built an installer out of it. I need to restart the computer with the user consent after installing the application. At the moment, I am running a batch file automatically after installation that restarts the computer without an option for the user to abort it.
I am using the following command: shutdown /r
. This command restarts the computer after a minute.
Is there a way to open the restart computer window with options "Restart Now", "Restart Later" and "Cancel" so that the user can decide what should happen next?