mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 18:22:13 +02:00
Make changes to NSIS installer
Changes names to Project Athena. Disables downloading of compaign packages. Disables slideshow during install.
This commit is contained in:
parent
a547f4c771
commit
b512eec6f8
1 changed files with 6 additions and 6 deletions
|
@ -161,7 +161,7 @@
|
||||||
;General
|
;General
|
||||||
|
|
||||||
; hide install details since we show an image slideshow in their place
|
; hide install details since we show an image slideshow in their place
|
||||||
ShowInstDetails nevershow
|
ShowInstDetails hide
|
||||||
|
|
||||||
; leverage the UAC NSIS plugin to promote uninstaller to elevated privileges
|
; leverage the UAC NSIS plugin to promote uninstaller to elevated privileges
|
||||||
!include UAC.nsh
|
!include UAC.nsh
|
||||||
|
@ -421,7 +421,7 @@ Function GetCampaignName
|
||||||
Pop $0 ; Discard Path
|
Pop $0 ; Discard Path
|
||||||
Pop $0 ; Recover filename
|
Pop $0 ; Recover filename
|
||||||
; Parse campaign out of the filename
|
; Parse campaign out of the filename
|
||||||
${RECaptureMatches} $0 "HighFidelity-([^-]*-)Beta-.*" $0 0
|
${RECaptureMatches} $0 "ProjectAthena-([^-]*-)Beta-.*" $0 0
|
||||||
${If} $0 == 1
|
${If} $0 == 1
|
||||||
Pop $0 ; Recover campaign name
|
Pop $0 ; Recover campaign name
|
||||||
StrCpy $0 $0 -1 0 ; Remove trailing - and copy to _RetVar
|
StrCpy $0 $0 -1 0 ; Remove trailing - and copy to _RetVar
|
||||||
|
@ -528,7 +528,7 @@ Var GAClientID
|
||||||
Page custom PostInstallOptionsPage ReadPostInstallOptions
|
Page custom PostInstallOptionsPage ReadPostInstallOptions
|
||||||
|
|
||||||
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageInstallFilesPre
|
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageInstallFilesPre
|
||||||
!define MUI_PAGE_CUSTOMFUNCTION_SHOW StartInstallSlideshow
|
; !define MUI_PAGE_CUSTOMFUNCTION_SHOW StartInstallSlideshow
|
||||||
!insertmacro MUI_PAGE_INSTFILES
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
|
||||||
!insertmacro MUI_UNPAGE_CONFIRM
|
!insertmacro MUI_UNPAGE_CONFIRM
|
||||||
|
@ -657,7 +657,7 @@ FunctionEnd
|
||||||
Function PageWelcomePre
|
Function PageWelcomePre
|
||||||
!insertmacro LogStep "Installer" "Welcome" "" ""
|
!insertmacro LogStep "Installer" "Welcome" "" ""
|
||||||
!insertmacro GoogleAnalytics "Installer" "Welcome" "" ""
|
!insertmacro GoogleAnalytics "Installer" "Welcome" "" ""
|
||||||
!insertmacro DownloadSlideshowImages
|
; !insertmacro DownloadSlideshowImages
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
Function PageLicensePre
|
Function PageLicensePre
|
||||||
!insertmacro LogStep "Installer" "License" "" ""
|
!insertmacro LogStep "Installer" "License" "" ""
|
||||||
|
@ -1085,7 +1085,7 @@ Function HandlePostInstallOptions
|
||||||
ClearErrors
|
ClearErrors
|
||||||
|
|
||||||
; copy the data from production build to this PR build
|
; copy the data from production build to this PR build
|
||||||
CopyFiles "$APPDATA\High Fidelity\*" $0
|
CopyFiles "$APPDATA\Project Athena\*" $0
|
||||||
|
|
||||||
; handle an error in copying files
|
; handle an error in copying files
|
||||||
IfErrors 0 NoError
|
IfErrors 0 NoError
|
||||||
|
@ -1325,7 +1325,7 @@ Section "-Core installation"
|
||||||
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
|
@CPACK_NSIS_EXTRA_INSTALL_COMMANDS@
|
||||||
|
|
||||||
; see if we have a campaign that we might need to grab special content for
|
; see if we have a campaign that we might need to grab special content for
|
||||||
Call OptionallyDownloadCampaignServerless
|
; Call OptionallyDownloadCampaignServerless
|
||||||
|
|
||||||
; Handle whichever post install options were set
|
; Handle whichever post install options were set
|
||||||
Call HandlePostInstallOptions
|
Call HandlePostInstallOptions
|
||||||
|
|
Loading…
Reference in a new issue