JakeChance
25th July 2005 18:56 UTC
Sections
I would normally check Wiki before asking a question but I can't get it to load right now.
I was wondering how in NSIS to not let the user select a section (a mandatory install) and then have only one of the remaining two sections allowed. To be more specific, I want the program to have to be installed and then have the user choose a basic help files or more advanced help files but not both.
Afrow UK
25th July 2005 19:17 UTC
Use a bank section:
Section
...
SectionEnd
Or:
Section "-Hidden"
SectionEnd
-Stu
JakeChance
25th July 2005 19:20 UTC
That removes the choice of the one I want them to have to install but is there a way where it can be shown with the check box greyedout?
Also is there a way to exclude one section if another is chosen, like with two seperate help sections?
JakeChance
25th July 2005 21:25 UTC
Thanks for the help before. I figured out another way to do it by disabling Custom with the /NOCUSTOM option and using InstType and SectionIn