From fe220ca6589b47c19319130af6448f90ffdf0de2 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 12 Jan 2016 12:19:26 -0800 Subject: [PATCH] attempted fix for finish button text change --- cmake/templates/NSIS.template.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index e2af21d9c6..3851422c2b 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -785,7 +785,8 @@ Function PostInstallOptionsPage ${EndIf} ; Set the text on the dialog button to match finish - SendMessage $POST_INSTALL_DIALOG ${WM_SETTEXT} 1 "STR:$(^CloseBtn)" + GetDlgItem $0 $hwndparent 1 + SendMessage $0 ${WM_SETTEXT} 0 "STR:$(^CloseBtn)" ${NSD_CreateLabel} 0 0 100% 12u "Setup Options" Pop $OPTIONS_LABEL