|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2008
Location: Germany, Hessen
Posts: 4
|
Hi @ all,
I was not able to find a solution for my problem within tutorials, examples etc., now I hope someone can help me. These are my installer pages: !insertmacro MUI_PAGE_WELCOME Page custom CustomPageVersion CustomLeaveVersion !insertmacro MUI_PAGE_COMPONENTS Page custom CustomPageTM CustomLeaveTM Page custom CustomPageServer CustomLeaveServer Page custom CustomPageWF CustomLeaveWF Page custom CustomPageDB CustomLeaveDB !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_PAGE_FINISH Based on user's selection the pages CustonPageWF and CustomPageDB are shown or skipped. Every time they are skipped there is no INSTALL button on the last shown custom page (CustomPageServer). Instead the text of the button stays "Next". Showing all pages the button's text on the last custom page shows correctly "Install". Does anybody know, how the button text is set? How does NSIS know that CustomPageDB is the last one before MUI_PAGE_INSTFILES? Am I able to control this from my script? Thank's in advance. Sue |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
NSIS doesn't know what you skip or don't skip and the button texts are set automatically in build time. You can manually set the buttons using GetDlgItem and SendMessage.
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2008
Location: Germany, Hessen
Posts: 4
|
Thank you - that's exactly what I was looking for!
Btw: Is there a list of the IDs for the other standard controls? Sue |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
See Contrib\Language files\English.nlf for other standard language strings.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2008
Location: Germany, Hessen
Posts: 4
|
Thanks again, that file is very helpful and more than I asked for.
But...if I remember rightly not long ago I found a tutorial or a posting where someone listed all the IDs (HWNDs) of the standard controls. He argued that these controls have static IDs. Unfortunately I did not save the link. ![]() Sue |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2008
Location: Germany, Hessen
Posts: 4
|
Thank's a lot for your help!
Hope I can pay back one time. Sue |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|