PDA

View Full Version : Get selected language



NewsArchive
11-30-2007, 09:55 AM
Hi Friedrich,

I'd like to read the language that the user selected from the common lanuage
dialog. I thought it's %Curlng% but always show 2055 and I can't see another
var that should hold it. I'd prefer to not create my own language dialog as
describben in the help - yours is perfect :-)

Thanks in advance
Hanspeter Stutz
ARCO Software AG

NewsArchive
11-30-2007, 09:56 AM
Hi Hanspeter,

Just use the following ;-)

Set Variable %SELECTEDLANGUAGE% to "{SELLNG}"

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-30-2007, 09:56 AM
Hi Friedrich,

Yep, that works perfectly. Maybe dumb question: where do I find all this
variables. I searched in the help (languages) but no avail.

Thanks for your (very fast) support
Hanspeter

NewsArchive
11-30-2007, 09:57 AM
Hi Hanspeter,

> Yep, that works perfectly. Maybe dumb question: where do I find all this
> variables. I searched in the help (languages) but no avail.
>
> Thanks for your (very fast) support

Not a dump question at all. This internal (pre-defined, read-only)
installer variable is not documented (done now!). Its use is demonstrated
in the "Radio Button 2.sb6" demo project, but it's impossible to find it in
this context :-(

SetupBuilder 7 will provide a new set of How-To and Tips and Tricks manuals.
SetupBuilder 6 already has more than 500 built-in functions and the current
manual is simply not enough to describe what is already possible.

Friedrich

NewsArchive
11-30-2007, 09:57 AM
As long as you're my manual(s) it's ok for me :-)

Cheers
Hanspeter

NewsArchive
11-30-2007, 09:58 AM
>
> As long as you're my manual(s) it's ok for me :-)
>

<BG> :-)

Always ask. I am here to help :)

Friedrich