From 2aac51c0f05361901553b605000b84b83c3d50f7 Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 9 Jan 2003 20:09:02 +0000 Subject: [PATCH] Some blurb git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2052 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/one-section.nsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Examples/one-section.nsi b/Examples/one-section.nsi index bd15c7bd..b970495c 100644 --- a/Examples/one-section.nsi +++ b/Examples/one-section.nsi @@ -1,3 +1,15 @@ +# This example demonstrates how to control section selection +# It allows only one of the four optional section to be selected at any given time +# +# Please note that the initial value will not be what you expect it to be if you are +# are using InstType because InstType is taken into consideration after the .onInit, +# where the initial state is set, executes. +# To use this code with InstType you will either have to specify you first InstType +# to match the initial value you set in .onInit (only StrCpy $1 ${sec1} is important +# in this case because the other set the section and that will be done by InstType), +# or set the initial section selection from .onSelChange when it is called for the +# first time. + Name example OutFile one-section.exe