Old 13th November 2009, 12:47   #1
mitesh.khatri
Junior Member
 
Join Date: Nov 2009
Location: INDIA
Posts: 6
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 is offline   Reply With Quote
Old 13th November 2009, 13:13   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
Look in the file(s) you included, and search for that text string. It's in there, somewhere.
MSG is offline   Reply With Quote
Old 16th November 2009, 07:01   #3
mitesh.khatri
Junior Member
 
Join Date: Nov 2009
Location: INDIA
Posts: 6
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
mitesh.khatri is offline   Reply With Quote
Old 16th November 2009, 07:47   #4
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
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
Wizou is offline   Reply With Quote
Old 16th November 2009, 08:38   #5
mitesh.khatri
Junior Member
 
Join Date: Nov 2009
Location: INDIA
Posts: 6
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
mitesh.khatri is offline   Reply With Quote
Old 16th November 2009, 08:45   #6
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
according to C:\Program Files\NSIS\Docs\MultiUser\Readme.html (have you read it? )
you can define MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER for this purpose
Wizou is offline   Reply With Quote
Old 16th November 2009, 08:49   #7
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
http://nsis.sourceforge.net/Docs/MultiUser/Readme.html

Documentation is your friend.
MSG 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