Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   change caption of radio button (http://forums.winamp.com/showthread.php?t=314568)

mitesh.khatri 13th November 2009 12:47

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 13:13

Look in the file(s) you included, and search for that text string. It's in there, somewhere.

mitesh.khatri 16th November 2009 07:01

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 07:47

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 08:38

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 08:45

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 08:49

http://nsis.sourceforge.net/Docs/MultiUser/Readme.html

Documentation is your friend.


All times are GMT. The time now is 04:31.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.