MP_chefkoch
18th July 2004 20:28 UTC
Section: min one selected
hi
can anyone tell me an example syntax, for my problem.
I have a SubSection calling 'language' and some setions for example 'German' and 'English'.
Now minimum is one selected Section, but it could be also 2 selected sections.
thx
hanshans
VegetaSan
19th July 2004 01:11 UTC
Section "language"
Subsection "German"
Setoutpath "$PROGRAMFILES"
file "C:\german.lang"
SubsectionEnd
Subsection "English"
Setoutpath "$PROGRAMFILES"
file "C:\english.lang"
SubsectionEnd
SectionEnd
this should work.
Yathosho
19th July 2004 16:45 UTC
try this example
MP_chefkoch
20th July 2004 09:51 UTC
@Vegeta San
Error: command SubSection not valid in section
This tells me NSIS, i know the error and i have the corrected version, but this is not what i need
@yathosho
i know this example but there i have only one selected -> then i get german
OR english,
but i need german
AND english
but although thanks for your help guys
These are the possibilities, I want to have to enable:
german AND english
ONLY german
ONLY english
BUT NOT all disabled.
I need more help.
hanshans
ppppppp
22nd July 2004 16:26 UTC
I have the same question, but nobody can help me!
VegetaSan
22nd July 2004 16:55 UTC
oops. I switched them. sorry :D
Subsection "Languages"
Section "German"
Setoutpath "$PROGRAMFILES"
file "C:\german.lang"
SectionEnd
Section "English"
Setoutpath "$PROGRAMFILES"
file "C:\english.lang"
SectionEnd
SubsectionEnd
Yathosho
22nd July 2004 17:37 UTC
i posted the one-section example not that because you can adapt it, but because you can customize it easily to fit your needs.