mitesh.khatri
13th November 2009 13:47 UTC
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
MSG
13th November 2009 14:13 UTC
Look in the file(s) you included, and search for that text string. It's in there, somewhere.
mitesh.khatri
16th November 2009 08:01 UTC
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
16th November 2009 08:47 UTC
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
16th November 2009 09:38 UTC
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
16th November 2009 09:45 UTC
according to C:\Program Files\NSIS\Docs\MultiUser\Readme.html (have you read it? ;) )
you can define MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER for this purpose
MSG
16th November 2009 09:49 UTC
http://nsis.sourceforge.net/Docs/MultiUser/Readme.html
Documentation is your friend.