hide back and cancel buttons on finish page

This commit is contained in:
Stephen Birarda 2016-01-12 14:16:28 -08:00
parent 7ce36a69a0
commit 47dbd9d850

View file

@ -777,9 +777,15 @@ Var LAUNCH_NOW_CHECKBOX
Var CURRENT_OFFSET Var CURRENT_OFFSET
Function PostInstallOptionsPage Function PostInstallOptionsPage
; Set the text on the dialog button to match finish ; Set the text on the dialog button to match finish, hide the back and cancel buttons
GetDlgItem $0 $hwndparent 1 GetDlgItem $R1 $hwndparent 1
SendMessage $0 ${WM_SETTEXT} 0 "STR:$(^CloseBtn)" SendMessage $R1 ${WM_SETTEXT} 0 "STR:$(^CloseBtn)"
GetDlgItem $R2 $hwndparent 2
ShowWindow $R2 0
GetDlgItem $R3 $hwndparent 3
ShowWindow $R3 0
nsDialogs::Create 1018 nsDialogs::Create 1018
Pop $POST_INSTALL_DIALOG Pop $POST_INSTALL_DIALOG