Skip to content
⌘ NSIS Forum Archive

Feature request

11 posts

TonyDS#

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#
Check the "one-section.nsi"-script in the Examples directory of NSIS. Isn't that what you mean?
TonyDS#
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#
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#
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
Afrow UK#
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#
Took less than 10 mins.
I had to add 4 new variables, so make sure you check and then copy the code thoroughly.

-Stu