![]() |
Install some files only if an other section is activated
Hello, is it possible that some files in a section will be only installed if e.g. the section1 was activated?
Thank you Marc |
There are three options, the first being the base code, and the 2 others being macros which use the same code.
1. code: 2. Use SectionFlagIsSet macro from Sections.nsh with ${SF_SELECTED} 3. Use ${If} ${SectionIsSelected} with LogicLib.nsh -Stu |
Thank you Afrow UK :)
I've choosed the option 1 and it works. Is it perhaps possible that the code checks if e.g. the Section1 and Section2 are activated? |
Sure, the top bit would be like this:
code: -Stu |
| All times are GMT. The time now is 04:17. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.