|
|
|
|
#1 |
|
Junior Member
Join Date: May 2009
Posts: 4
|
Recreate Page
Hello i am trying to implement dynamic sections manipulation in my setup:
I have some number of predefined invisible sections. After some manipulations on "components" page, one of invisible sections must become visible so i call e.g.: code: Of course it doesn't show up on "components" page (page is shown right now) So i need to refresh it somehow! I've tried to push "Back" button with and then press "Next" in same way (or call Abort in precreation of previous page).code: But my setup crashes right after Back is pressed. Maybe you know some WM_ Message that will cause components page to refresh? Or i should add it to components treeView manually? P.S. I know that i could do it with ListBox in nsDialogs but it will be without checkboxes
|
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Did you try to move the referred manipulations and the SectionSetText instruction into .onInit function?
Did you try the page functions pre/leave? Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2009
Posts: 4
|
Setting section text in .onInit is not suitable for me, because sections must be added when user is already on "components" page.
The problem with refreshing this page, because components TreeView is filled with lines on creation of page (i think so because when i use SectionSetText to reveal new section then press Back and then press Next to return to "components" page new section shows up). So i just need some solution to forse "components" page to refresh its data in components TreeView. |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2007
Posts: 672
|
It is not the nicest method I guess, but the following might work for you:
http://nsis.sourceforge.net/Go_to_a_NSIS_page |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2009
Posts: 4
|
Thank you. It may help me.
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Aug 2010
Posts: 104
|
Hi,
as I am having exactly the same problem (see http://forums.winamp.com/showpost.ph...68&postcount=6 I am interested in if anybody has a working solution for this problem? I tried the 'Goto RelPage' suggestion but that leads to a crash of the installer. Refreshing the GUI due to changes when page is already shown is a most common situation or an often needed scenario - would be nice to have a solution for this! Or can anybody give me a hint how to "work around" this problem? Thanks, Gunther |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|