cleanup messages, clear errors before copy

This commit is contained in:
Stephen Birarda 2016-01-19 09:58:07 -08:00
parent be6606cefd
commit e8525e4886

View file

@ -983,6 +983,8 @@ Function HandlePostInstallOptions
; we need to copy whatever is in the data folder for production build to the data folder for this build
CreateDirectory $0
ClearErrors
; copy the data from production build to this PR build
CopyFiles "$APPDATA\High Fidelity\*" $0
@ -990,7 +992,7 @@ Function HandlePostInstallOptions
IfErrors 0 NoError
MessageBox mb_IconStop|mb_TopMost|mb_SetForeground \
"There was a problem copying your production content and settings to $0 for this PR build.$\r$\nPlease copy them manually."
"There was a problem copying your production content and settings to $0 for this PR build.$\r$\n$\r$\nPlease copy them manually."
NoError:
${EndIf}