Skip to content
⌘ NSIS Forum Archive

Changing button text

3 posts

akshay.sharma#

Changing button text

Hi, I am using custom pages to create a installer. Now I don't have a finish page, so what I want is when the progress bar finishes instead of next button I want to show Finish button. i used

MiscButtontext Next "Finish"

But this is giving problem. In Welcome page also it is changing next button name to finish. what shud i do in this case.
M. Ratz#
i found the following solution in the nsdialogs.nsh (only replaced sendmessage with nsdialogs-macro:

GetDlgItem $0 $HWNDPARENT 1 # next/install button
${NSD_SetText} $0 "Text you want to show on the button"