Hi, Are there any way include sections/subsections on runtime into nsis component page.
What i want to is insert subsections into plugins section like below in runtime, sub sections refer to directories .
Directory Structure
-----------------
installpath :
install.exe
component1Dir
component2Dir
component3Dir
NSI Section
----------------
component page:
Base Files
Plugins
->component1
->component2
->component3
Documentation
Shorcuts
Dynamic Sections
4 posts
Hi
Hi,
I am not very much clear about your query, but I guess your answer is somewhere here.
Hi,
I am not very much clear about your query, but I guess your answer is somewhere here.
Thanks for the reply n_baua,
i just want to
->read name of the sub directories in exedir.
->add the names to components sections so user can
select or unselect.
and want the copy these user selectted dirs to instdir.
Anyway, i think i coulnd't explain it clearly, again🙂
i just want to
->read name of the sub directories in exedir.
->add the names to components sections so user can
select or unselect.
and want the copy these user selectted dirs to instdir.
Anyway, i think i coulnd't explain it clearly, again🙂
Predefine a large number of nameless sections. Then, on runtime, give those sections names according to the files in the directory. Use SectionSetText to set the section's name.
You could also use a custom page with a listbox.
You could also use a custom page with a listbox.