From db5935c275303a9d7c5fdea9c9ab56e6b8083ae9 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 12 Jan 2016 12:34:40 -0800 Subject: [PATCH] try to change button text at very end --- cmake/templates/NSIS.template.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index eccbaba5e8..4709ec3bed 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -784,10 +784,6 @@ Function PostInstallOptionsPage Abort ${EndIf} - ; Set the text on the dialog button to match finish - GetDlgItem $0 $hwndparent 1 - SendMessage $0 ${WM_SETTEXT} 0 "STR:$(^CloseBtn)" - ${NSD_CreateLabel} 0 0 100% 12u "Setup Options" Pop $OPTIONS_LABEL @@ -834,6 +830,10 @@ Function PostInstallOptionsPage ${NSD_SetState} $LAUNCH_NOW_CHECKBOX ${BST_CHECKED} nsDialogs::Show + + ; Set the text on the dialog button to match finish + GetDlgItem $0 $hwndparent 1 + SendMessage $0 ${WM_SETTEXT} 0 "STR:$(^CloseBtn)" FunctionEnd Var DESKTOP_CLIENT_STATE