mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
change var to a global per CR
This commit is contained in:
parent
6a5dfd6fc5
commit
cec4b4e86b
1 changed files with 3 additions and 2 deletions
|
@ -149,6 +149,7 @@
|
|||
; inter-component dependencies.
|
||||
Var AR_SecFlags
|
||||
Var AR_RegFlags
|
||||
Var substringResult
|
||||
@CPACK_NSIS_SECTION_SELECTED_VARS@
|
||||
|
||||
; Loads the "selected" flag for the section named SecName into the
|
||||
|
@ -199,9 +200,9 @@ Var AR_RegFlags
|
|||
Goto "end_initSection_${SecName}"
|
||||
|
||||
"checkBeforeDefault_${SecName}:"
|
||||
${StrContains} $AR_RegFlags "/nSandboxIfNew" $CMDLINE
|
||||
${StrContains} $substringResult "/nSandboxIfNew" $CMDLINE
|
||||
${If} "${SecName}" == "server"
|
||||
${AndIfNot} $AR_RegFlags == ""
|
||||
${AndIfNot} $substringResult == ""
|
||||
StrCpy $AR_RegFlags 0
|
||||
Goto "set_initSection_${SecName}"
|
||||
${Else}
|
||||
|
|
Loading…
Reference in a new issue