|
|
#1 |
|
Junior Member
Join Date: May 2002
Posts: 1
|
Idiot question of the day..
I apologize in advance for this newbie question so here goes:
I have run across an interesting issue when setting up my sections for a script that I am writing. Is there a way to assign a section to an arbitrary set of install types? Here is a sample of what I am trying to do: InstType "large" InstType "small" InstType "Other" InstType "More" Section "Crap" SectionIn 3 4 ;install stuff SectionEnd Section "Doc" SectionIn 1 3 ;install stuff SectionEnd Section "Stuff" SectionIn 1 2 3 4 ;install stuff SectionEnd When the installer comes up, install type "large" and "Other" has ALL of the sections enabled, and "small" and "More" have only "Crap" and "Src" enabled. What the hell am I doing wrong here? Thanks in advance! skanky |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
First of all, in NSIS 1.98 section 1 is always on!
Second, InstType 3 is in all sections, so this section is indeed always on. Just remove some 3 from the command SectionIn if you don't want that particular section to be enabled in InstType 3. Just carefully check your code. SectionIn does everything you want! -Hendri. |
|
|
|
#4 |
|
Senior Member
|
If you don't won't the fist section on by default, You can just make the fist section a hidden section.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|