mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
nsis: don't reboot in silent mode
This commit is contained in:
parent
1c8eadcdcc
commit
f38400d1e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user