Archive: Feature request


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


Check the "one-section.nsi"-script in the Examples directory of NSIS. Isn't that what you mean?


Yes but you can't do mulitple sections of it, that is the reason why I'm asking for it


Explain what you mean by "you can't do mulitple sections of it"

-Stu


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


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


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


Obviously no one has an answer

Thanks anyhow


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


Took less than 10 mins.
I had to add 4 new variables, so make sure you check and then copy the code thoroughly.

-Stu


Thank you thats perfect