Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Create onfly section (http://forums.winamp.com/showthread.php?t=280152)

Nazer 27th October 2007 23:16

Create onfly section
 
I want add new component to component page dynamiclly.
I want use this feature for back up databases on end user computer.
what can I do?

demiller9 28th October 2007 05:01

Would you settle for a Section (component) that is not visible on the component page? You can change the section text with logic in .onInit so that the section will or will not be displayed, and also use similar logic to enable or disable the section.

Check the manual for SectionSetText, SectionSetFlags to see what can be done with those commands.

Don

pospec 28th October 2007 09:12

Dynamically add sections seems to be challenge. I think that it is impossible to do it. E.g. if I want to have "installer" which will read some folder in system registry, displays it (like sections) as components page and delete checked "sections" (registry keys or values). Is it possible or not?

Afrow UK 28th October 2007 10:31

The solution would be not to use sections but to use a plugin such as EmbeddedLists that allows you to display a list view or tree view with check boxes. You'd need to read the INI file at run time to determine which items were selected.

Stu


All times are GMT. The time now is 05:32.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.