NSIS/Docs/src/reboot.but
rainwater a3676511e6 Updated docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1248 212acab6-be3b-0410-9dea-997c60f758d6
2002-10-01 13:53:23 +00:00

19 lines
642 B
Text

\C{rebootinst} Reboot Support
\H{IfRebootFlag} IfRebootFlag
IfRebootFlag \e{[jump_if_set] [jump_if_not_set]}
Checks the reboot flag, and jumps to jump_if_set if the reboot flag is set, otherwise jumps to jump_if_not_set. The reboot flag can be set by Delete and Rename, or manually with SetRebootFlag.
\H{Reboot} Reboot
Reboot
Reboots the computer. Be careful with this one. If there is an error rebooting, this function sets the error flag and continues. If the reboot is sucessful, this instruction does not return.
\H{SetRebootFlag} SetRebootFlag
SetRebootFlag \e{true|false}
Sets the reboot flag to either true or false.