Section Dependencies
Hello all,
I am looking for a way of marking sections as dependent. For example
- Section 1 (Installs Service)
- Section 1.1 (Starts Service)
- Section 1.1.2 (Starts Service)
Obviously the service cannot be started if it hasnt been installed, so I am looking for a method of making 1.1 dependent on 1.
At the moment I have the following snipped "code":
SectionGroup "Runtime Files"
Section "Install Service" sec_svc_install
SectionEnd
Section "Start Service" sec_svc_start
SectionEnd
SectionGroupEnd
After some hunting around I found the following:
http://nsis.sourceforge.net/Section_Dependency
Is this the only way to do this?