Romu
29th June 2004 09:45 UTC
Newbie question - re-using attributes
Hi all, I've searched for this question but I didn't find any answer on the forum.
NSIS 2.0 introduced the "Name" attribute as the installer title.
Does someone know how I can access the value of this attribute in my script ?
Thanks.
pengyou
29th June 2004 11:11 UTC
Use $(^Name) in your script.
From the NSIS User Manual, Section 4.10 "Multiple Languages":
You can also use the contents of the standard language strings in your own strings (for example, $(^Name) contains the installer's name set using the Name instruction). The names of all standard languages strings are listed as comments just above the strings in the language files. The language files are located in Contrib\Language Files.
Romu
29th June 2004 12:39 UTC
Thanks a lot.
I searched in many places but not in this section.