|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2008
Location: Canada
Posts: 32
|
Hi all,
I am new to NSIS. Can anybody tell me how to pop up a page if a section in component page is selected? This page should not show up in the main script, otherwise it always pops up no mater the related section is selected or not. Thanks in advance. Jue |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Oct 2007
Location: Xi'an, China
Posts: 194
|
You can see the example "makensis.nsi"
An NSIS fan from China, my name is Jia Ke (pinyin). Email: jiake@vip.qq.com Messenger: jiake@live.in QQ (Chinese IM): 550771955 |
|
|
|
|
|
#3 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
code: 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 |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2008
Location: Canada
Posts: 32
|
Thank both you experts. It works.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2008
Location: Canada
Posts: 32
|
Hi, can I have another question?
I have a custom page on which there are 2 Radiobuttons, after the selection of the 2 Radiobuttons, a component page shows up, some of the sections will be disabled or enabled based on the Radiobutton selection. How can I set the sections? From my understanding, there is one way, such as "SectionIn RO", but it is only for compile time but runtime. And there is another way to do it for runtime, "SetSectionFlag ${SEC_NAM} ${SF_RO}", but I tried to set it either in RadioButton page function (PageLeave) or in the relative section. Can you experts help? Thanks in advance. |
|
|
|
|
|
#6 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
2 examples, first is to keep sections in tact when back button is pressed and second simply disables back button.
code: 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 |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2008
Location: Canada
Posts: 32
|
Thank you very much, Red Wine. It works.
Cheers! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|