mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +02:00
Merge pull request #8519 from birarda/installer-fixes
add removal of resources folder before install
This commit is contained in:
commit
df9ac9fd6e
1 changed files with 11 additions and 0 deletions
|
@ -130,6 +130,11 @@ Var AR_RegFlags
|
||||||
SectionSetFlags ${${SecName}} $AR_SecFlags
|
SectionSetFlags ${${SecName}} $AR_SecFlags
|
||||||
|
|
||||||
"default_${SecName}:"
|
"default_${SecName}:"
|
||||||
|
; The client is always selected by default
|
||||||
|
${If} ${SecName} == @CLIENT_COMPONENT_NAME@
|
||||||
|
SectionSetFlags ${${SecName}} 17
|
||||||
|
${EndIf}
|
||||||
|
|
||||||
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
|
!insertmacro LoadSectionSelectedIntoVar ${SecName} ${SecName}_selected
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
@ -243,6 +248,12 @@ FunctionEnd
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
; Installation types
|
; Installation types
|
||||||
|
|
||||||
|
Section "-Previous Install Cleanup"
|
||||||
|
; Remove the resources folder so we don't end up including removed QML files
|
||||||
|
RMDir /r "$INSTDIR\resources"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
@CPACK_NSIS_INSTALLATION_TYPES@
|
@CPACK_NSIS_INSTALLATION_TYPES@
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
|
Loading…
Reference in a new issue