Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 2nd June 2002, 02:46   #1
skanky100
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
skanky100 is offline   Reply With Quote
Old 2nd June 2002, 02:51   #2
DuaneJeffers
Major Dude
 
DuaneJeffers's Avatar
 
Join Date: May 2001
Location: Winter Park, FL
Posts: 1,776
Ummm, I don't see a src section in your code, could you repost??

-Duane

Website

Yeah, that's pretty much it. :-\
DuaneJeffers is offline   Reply With Quote
Old 2nd June 2002, 08:19   #3
Smile2Me
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.
  Reply With Quote
Old 4th June 2002, 04:33   #4
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
If you don't won't the fist section on by default, You can just make the fist section a hidden section.
rainwater is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump