From 1deaebd54436b934e65b643d05806346167b8c90 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 18 Jan 2016 18:25:02 -0800 Subject: [PATCH] check the copy box by default --- 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 097d8c7623..f481e4aaa7 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -916,6 +916,8 @@ Function PostInstallOptionsPage ${NSD_CreateCheckbox} 0 $CurrentOffset$OffsetUnits 100% 10u "&Copy settings and content from production install" Pop $CopyFromProductionCheckbox + + ${NSD_SetState} $CopyFromProductionCheckbox ${BST_CHECKED} ${EndIf} nsDialogs::Show @@ -976,7 +978,7 @@ 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@\" + CopyFiles "$APPDATA\High Fidelity\*" "$APPDATA\@BUILD_ORGANIZATION@" ${EndIf} ${EndIf}