mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 13:12:40 +02:00
add an error message for app data create
This commit is contained in:
parent
d7c5036a42
commit
6ee0258251
1 changed files with 8 additions and 1 deletions
|
@ -978,7 +978,14 @@ Function HandlePostInstallOptions
|
|||
${If} $CopyFromProductionState == ${BST_CHECKED}
|
||||
; we need to copy whatever is in the data folder for production build to the data folder for this build
|
||||
CreateDirectory "$APPDATA\@BUILD_ORGANIZATION@"
|
||||
CopyFiles "$APPDATA\High Fidelity\*" "$APPDATA\@BUILD_ORGANIZATION@"
|
||||
|
||||
IfErrors CopyData
|
||||
|
||||
; if we're here there was an error creating the data folder for this build
|
||||
MessageBox mb_IconStop|mb_TopMost|mb_SetForeground "Could not create directory $APPDATA\@BUILD_ORGANIZATION@, error $0"
|
||||
|
||||
CopyData:
|
||||
CopyFiles "$APPDATA\High Fidelity\*" "$APPDATA\@BUILD_ORGANIZATION@"
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
|
||||
|
|
Loading…
Reference in a new issue