Skip to content
⌘ NSIS Forum Archive

change caption of radio button

7 posts

mitesh.khatri#

change caption of radio button

hello,
i add the multi user page in my setup widzard but i want to change the caption of user button ( "install for anyone using this computer" to "Everyone" and "Install just for me" to "Just me".)
can any one suggest how i will change these captions.
Thanks
mitesh.khatri#
I have include the following files..

!include MultiUser.nsh
!include MUI2.nsh

but i not get the "Install just for me" to "Just me" text in these files. can u suggest how will i change these texts.
Thanks
Wizou#
It is defined in C:\Program Files\NSIS\Contrib\Language files\English.nsh

!define MULTIUSER_INNERTEXT_INSTALLMODE_CURRENTUSER "Just for me"
to override it, or
!define MULTIUSER_INNERTEXT_INSTALLMODE_CURRENTUSER "$(JustForMe)"
if you want to use a langstring
mitesh.khatri#
Thanx very much its working fine...
but i want to know one more thing that is
the default radio button selected is "Install for anyone using this computer" but i want to select the other button by default. can any one suggest how will i do this.
Thanks
Wizou#
according to C:\Program Files\NSIS\Docs\MultiUser\Readme.html (have you read it? 😉 )
you can define MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER for this purpose