|
|
#1 |
|
Junior Member
Join Date: Oct 2008
Posts: 8
|
Running installation sections
Hello,
I have a rather complicated installation with many sections. Therefore I have written my own selection dialogue using nsDialogs. Once I know which choices the user has made I need to run the appropriate installation sections. How do I do that? /Richard |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2005
Location: Glow
Posts: 285
|
Simples way I can think of is to use SelectSection and UnselectSection macros from Sections.nsh
PaR |
|
|
|
|
|
#3 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
Sections in NSIS are 'reflections' of Components page selections. NSIS decides what sections to execute basing on current selections. If you want use some other logic from customer choices, IMHO better way is to use functions. Just call them from some mandatory (may be hidden) section. Another way is {_trueparuex^} described check boxes manupulation on the Components page, but customer can change selections on the Components page.
|
|
|
|
|
|
#4 | ||
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
Quote:
Quote:
|
||
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|