mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +02: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.
|
; inter-component dependencies.
|
||||||
Var AR_SecFlags
|
Var AR_SecFlags
|
||||||
Var AR_RegFlags
|
Var AR_RegFlags
|
||||||
|
Var substringResult
|
||||||
@CPACK_NSIS_SECTION_SELECTED_VARS@
|
@CPACK_NSIS_SECTION_SELECTED_VARS@
|
||||||
|
|
||||||
; Loads the "selected" flag for the section named SecName into the
|
; Loads the "selected" flag for the section named SecName into the
|
||||||
|
@ -199,9 +200,9 @@ Var AR_RegFlags
|
||||||
Goto "end_initSection_${SecName}"
|
Goto "end_initSection_${SecName}"
|
||||||
|
|
||||||
"checkBeforeDefault_${SecName}:"
|
"checkBeforeDefault_${SecName}:"
|
||||||
${StrContains} $AR_RegFlags "/nSandboxIfNew" $CMDLINE
|
${StrContains} $substringResult "/nSandboxIfNew" $CMDLINE
|
||||||
${If} "${SecName}" == "server"
|
${If} "${SecName}" == "server"
|
||||||
${AndIfNot} $AR_RegFlags == ""
|
${AndIfNot} $substringResult == ""
|
||||||
StrCpy $AR_RegFlags 0
|
StrCpy $AR_RegFlags 0
|
||||||
Goto "set_initSection_${SecName}"
|
Goto "set_initSection_${SecName}"
|
||||||
${Else}
|
${Else}
|
||||||
|
|
Loading…
Reference in a new issue