Old 2nd March 2012, 10:32   #1
rumovoice
Junior Member
 
Join Date: Nov 2011
Posts: 11
How to change "next" button to "install"

I'm using MUI2. Before instfiles page I have my custom page that almost never is shown (its creator function immediately returns moving installer to the next page). Like this:
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
Page Custom LockedListShow
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

How to change "next" button to "install" on MUI_PAGE_DIRECTORY page (this almost always is the last page before instfiles)
rumovoice is offline   Reply With Quote
Old 2nd March 2012, 11:29   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,172
After doing GetDlgItem you can do SendMessage $hwndbutton ${WM_SETTEXT} 0 "STR:$(^InstallBtn)"

Edit:
http://forums.winamp.com/showthread.php?t=326780
http://forums.winamp.com/showthread.php?t=204589
etc (Maybe search first next time?)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump