Skip to content
⌘ NSIS Forum Archive

make a section list from .xml file

3 posts

carry_13#

make a section list from .xml file

It's posibble making a universal instalator whitch set custom page components from .xml files?

I have got .xml file e.g. like this:

<?xml version="1.0" encoding="UTF-8"?>
<parametres>
<colour>
<Black />
<Blue />
<Green />
.
.
.
</colour>
</parametres>

or e.g. like this:

<?xml version="1.0" encoding="UTF-8"?>
<parametres>
<shapes>
<right angle>
<left angle>
.
.
.

</shapes>
</parametres>

It's posible to make only one instaler, where section tree with names is making from xml. file? I'd like only changing .xml file and using the same instalator.

I try to make it, but to no purpose🙁

Thank you!
Afrow UK#
You cannot dynamically add sections but you can have sections unchecked by default and hidden and then show them if required. Read the manual on sections.

Stu
carry_13#
Hello,

i know this, but is not good for me, i have got a lot of sections and sometimes I add some new and there for i need to add sections dynamically.

Thanks a lot!