try to change button text at very end

This commit is contained in:
Stephen Birarda 2016-01-12 12:34:40 -08:00
parent f830c9ce25
commit db5935c275

View file

@ -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