Skip to content
⌘ NSIS Forum Archive

Function to change text on uninstall finished button?

2 posts

rsegal#

Function to change text on uninstall finished button?

When the uninstall files page finishes with the actual un-installation of files is there a function to change the text on button to progress to the next screen which for me is actually "Close" because I only two screens in my uninstaller...


Uninstpage custom un.WelcomePage
!insertmacro MUI_UNPAGE_INSTFILES
Red Wine#
!define BTN_NEXT   1
!define BTN_CANCEL 2
!define BTN_BACK 3

Function ChangeButtonText
GetDlgItem $0 $HWNDPARENT ${BTN_I_WANT_TO_CHANGE}
SendMessage $0 ${WM_SETTEXT} 0 "STR:text"
FunctionEnd