nsis
23rd June 2005 17:18 UTC
Restart the computer
Hi there,
I am new user of NSIS. I want to add a window at the end of my installation, which ask the user whether he want to restart the computer or not. If the answer is yes then the computer will restart automatically. Anybody knows how to do that?
Your help will be highly appreciate,
Amy
deguix
23rd June 2005 17:32 UTC
Do you use Modern UI and !insertmacro MUI_PAGE_FINISH? If yes, use the "SetRebootFlag" instruction on your section. The finish page will automatically ask the user to reboot the computer.
onad
24th June 2005 12:26 UTC
Please note that people do not like to restart their PC after an installation. Make REALLY sure there is no other way.