Archive: sectionname as variable


sectionname as variable possible?
Hi,

is it in anyway possible to use an variable as sectionname?

i will create a variable on runtime and give the section an name that i have read from an file

i tryed:



strcmp $name "read that name from an other/outer source"

section /o $name
#
#code
#
sectionend

this does not work.
can anyone help me?

is it possible to use this

$(for) $R 1 to 9
section $R
#
#code
#
sectionend
$(next)

Anyone an idea? Thanks


You need SectionSetText instead,

http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.3


Originally posted by Red Wine
You need SectionSetText instead,

http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.13.3
Thanks - thats what i'm looking for