mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
Fix installer silent mode doLocalConf.xml setting handling issue
Fix #16233, close #16234
This commit is contained in:
parent
aecc0e4a3b
commit
bb0ed32d40
@ -39,6 +39,12 @@ initUpdatePath:
|
|||||||
StrCpy $PLUGIN_INST_PATH "$INSTDIR\plugins"
|
StrCpy $PLUGIN_INST_PATH "$INSTDIR\plugins"
|
||||||
StrCpy $ALLUSERS_PLUGIN_CONF_PATH "$PLUGIN_INST_PATH\Config"
|
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}
|
${If} $noUserDataChecked == ${BST_CHECKED}
|
||||||
|
|
||||||
File "..\bin\doLocalConf.xml"
|
File "..\bin\doLocalConf.xml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user