o_owd
28th June 2007 12:56 UTC
rename button
Hello,
I have a small installer with 2 pages. "Welcome page" and "install page". On the "welcome page" the "next" button becomes "install".
Can I change it back to "next" or other string ?
Is it not a custom page. I use the standard "welcome page".
Thanks is advance.
kichik
28th June 2007 13:55 UTC
That's done so the user always knows exactly when the installation begins and won't be surprised. You can use InstallButtonText to set the text for the Install button.
demiller9
28th June 2007 14:05 UTC
You can change the button text by using SendMessage. You could also create a dummy page after the Welcome page and abort it so that it does not show. However, it is not recommended to do either of these because the 'Install' text is valuable to the user.
NSIS changed the 'Next' to 'Install' because there are no more pages before the installation starts. This gives the user a final chance to change his mind and cancel instead of install the software. If you make it read 'Next' again, he will expect a license, directory page or other options and might install without meaning to do so.
Don
edit: Kichik gave a more direct way to change the text than I did. I learn more every day by reading this forum.
o_owd
28th June 2007 19:00 UTC
Thanks for the replies.
I know why the button changes to "install" from "next".
I needed to change the word "install" because I am not installing anything. I am checking for online updates for my software. :)
Thanks.