From f664fddb911a24c327fd52914017ac3030940970 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 12 Dec 2008 17:02:20 +0000 Subject: [PATCH] don't allow both "reboot now" and "reboot later" to be turned on at the same time git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5828 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 4c61f9a6..edd212f8 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -1570,9 +1570,11 @@ Var MUI_TEMP2 !insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "120" !endif !ifdef MUI_FINISHPAGE_REBOOTLATER_DEFAULT + !insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "0" !insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "State" "1" !else !insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1" + !insertmacro INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "State" "0" !endif Goto mui.finish_load