Skip to content
Permalink
Browse files

nsis: don't reboot in silent mode

  • Loading branch information
jef-n committed Sep 5, 2018
1 parent 1c8eadc commit f38400d1e765478b51e0c85f2eafa5f47174c244
Showing with 7 additions and 0 deletions.
  1. +7 −0 ms-windows/QGIS-Installer.nsi
@@ -370,9 +370,16 @@ Section "QGIS" SecQGIS
IfFileExists "$INSTALL_DIR\etc\reboot" RebootNecessary NoRebootNecessary

RebootNecessary:
IfSilent FlagRebootNecessary
SetRebootFlag true
Return

FlagRebootNecessary:
SetErrorLevel 3010 ; ERROR_SUCCESS_REBOOT_REQUIRED
Return

NoRebootNecessary:
Return

SectionEnd
!endif

0 comments on commit f38400d

Please sign in to comment.
You can’t perform that action at this time.