mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
fix installer silent mode doLocalConf.xml setting handling
This commit is contained in:
parent
aecc0e4a3b
commit
b0f71d1efa
@ -39,6 +39,12 @@ initUpdatePath:
|
||||
StrCpy $PLUGIN_INST_PATH "$INSTDIR\plugins"
|
||||
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$PLUGIN_INST_PATH\Config"
|
||||
|
||||
; in Silent mode we cannot use the NSIS GUI for handling the doLocalConf mode
|
||||
; but we need to directly use the previous user setting
|
||||
IfSilent 0 +3
|
||||
IfFileExists $INSTDIR\doLocalConf.xml 0 +2
|
||||
StrCpy $noUserDataChecked ${BST_CHECKED}
|
||||
|
||||
${If} $noUserDataChecked == ${BST_CHECKED}
|
||||
|
||||
File "..\bin\doLocalConf.xml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user