SDA-3913 (Set up first time launch for auto updated version) (#1513)

* SDA-3913 - Set up first time launch for auto updated version

* SDA-3913 - Read temp global config file and fix installer.nsh file
This commit is contained in:
Kiran Niranjan
2022-10-06 08:17:59 +05:30
committed by GitHub
parent 712457d5d8
commit 2dbe0e997e
3 changed files with 22 additions and 11 deletions

View File

@@ -25,8 +25,8 @@ FunctionEnd
!macroend
!macro copyLocalGlobalConfig
IfFileExists $LOCALAPPDATA\Symphony\Symphony\config\Symphony.config 0 +2
CopyFiles /SILENT $LOCALAPPDATA\Symphony\Symphony\config\Symphony.config $WINDIR\Temp\temp-local-Symphony.config
IfFileExists $LOCALAPPDATA\Programs\Symphony\Symphony\config\Symphony.config 0 +2
CopyFiles /SILENT $LOCALAPPDATA\Programs\Symphony\Symphony\config\Symphony.config $WINDIR\Temp\temp-local-Symphony.config
!macroend
!macro replaceSystemGlobalConfig
@@ -36,7 +36,7 @@ FunctionEnd
!macro replaceLocalGlobalConfig
IfFileExists $WINDIR\Temp\temp-local-Symphony.config 0 +2
CopyFiles /SILENT $WINDIR\Temp\temp-local-Symphony.config $PROGRAMFILES64\Symphony\Symphony\config\Symphony.config
CopyFiles /SILENT $WINDIR\Temp\temp-local-Symphony.config $LOCALAPPDATA\Programs\Symphony\Symphony\config\Symphony.config
!macroend
!macro bothM