![]() |
Navigate custom pages
I'm writing installer but it needs to have a few custom pages that are showing when specified radio buttons is selected on components page.
I was trying to "call" my function with custom page from specific section that is selected but then whole installer is suspending but I need to kill him from task mgr. I can try to put custom pages to show in specific order at the beginning of my script, but I'll have all pages even those I don't want to show. But maybe I can navigate them. Maybe it's possible to do something in specific section like when radiobutton 1 is selected then in section 1 of my installer I can put command like page = page + 2 or something like this? Thanks for help! |
You cannot call page functions from a section - sections are all executed inside the INSTFILES page.
You can simply add the optional page normally, then in its prefunction call 'abort' to skip it. |
it's something like if radiobutton selected page abort?
can you past here sample code? |
function YourPagePre
${If} ${SectionIsSelected} ${YourSection} abort ${EndIf} functionend |
Thanks but I can't get it to work...
I have something like that: code: and it looks like it's not working for me :- ( Can you help, please? |
I have changed it a bit and now it looks like...
code: It looks like for NSIS section ${sec2} is always selected. Help please! :-( |
|
great! it's working as it should!
thank you! |
| All times are GMT. The time now is 17:21. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.