From e8525e4886ccb0762fff632087e2328e20e2a05f Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 19 Jan 2016 09:58:07 -0800 Subject: [PATCH] cleanup messages, clear errors before copy --- cmake/templates/NSIS.template.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 1d9138cfaa..ee8c5c8c08 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -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}