View Full Version : Choosing Sections
8th January 2002, 20:08
Is there a way to make it so the user can only choose one section to install. In other words, I want them to make a choice, but only one.
9th January 2002, 02:23
use the InstType /NOCUSTOM which don't allow users to do custom Install types and then have a InstType for each one..
9th January 2002, 04:34
no what he means is can the user select only ONE section from a list of sections... but I can't answer that question :(
9th January 2002, 07:22
Yes i know what he means.. And doing what i said will give the same result.. Removing the Custom makes it so the user can only select what you have setup in the InstType
So do an example like this
Section "App Name Since this Always ON"
;Do install initialise or what not (This just here for place holder since can't deactive it
;Do what you need for this selection
;Do what you need here..
;And again what you need
This is the only way to allow this.. They will only be able to choose the install types that you specified like he asked. And the first one you can use what base files you want to be installed and what extra ones you want.. Or in the case like i use it.. I just use it as a place holder in cause you are using nsis to install something that there is nothing that is always required.
9th January 2002, 17:12
Thank you..that pretty much did what I wanted. :D
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.