- NSIS Discussion
- Feature request
Archive: Feature request
TonyDS
24th September 2003 05:23 UTC
Feature request
In the near future could someone put together a mulitiple one section script
Say you had five sections with five boxes in each, but only one choice can be selected from each section, (it doesn't have to be five boxes, thats just an example) it could be upto how many you wanted.
Sorry if this is in the wrong forum, but I'm not sure where the request forum is
Thank you
-Tony
lzandman
24th September 2003 07:00 UTC
Check the "one-section.nsi"-script in the Examples directory of NSIS. Isn't that what you mean?
TonyDS
24th September 2003 19:49 UTC
Yes but you can't do mulitple sections of it, that is the reason why I'm asking for it
Afrow UK
24th September 2003 19:54 UTC
Explain what you mean by "you can't do mulitple sections of it"
-Stu
TonyDS
24th September 2003 20:03 UTC
well in the one section script, you have section required, with option 1, 2 and so on
What I would like is something like this
Required
Option 1
Option 2
Option 3
Option 4
2nd Required
Option 1
Option 2
Option 3
Option 4
3rd Required
Option 1
Option 2
Option 3
Option 4
So from each section you can you have 4 selectable options but you can only select one choice from each section
Afrow UK
24th September 2003 20:23 UTC
Oh ok.
It is actually very easy to repeat parts of that script for even more component check boxes.
Maybe you could give it a try?
-Stu
TonyDS
24th September 2003 20:42 UTC
I did, but it kept screwing up, therefore my request for someone with a little more knowledge to upload a script which recreates the multi one section
Thanks
I managed to to do this together with pengyu's help but it's not right I don't feel
it combines the one_section script and another (forgot name)
but I could only get the other sections to work right with two options
TonyDS
25th September 2003 18:34 UTC
Obviously no one has an answer
Thanks anyhow
Afrow UK
25th September 2003 19:04 UTC
I've got some free time, so I'll have a hack at it.
I did something very similar to what you requested back when one-section code was slightly different (well over a year ago now I think)
-Stu
Afrow UK
25th September 2003 19:20 UTC
Took less than 10 mins.
I had to add 4 new variables, so make sure you check and then copy the code thoroughly.
-Stu
TonyDS
25th September 2003 21:46 UTC
Thank you thats perfect