![]() |
#1 |
Junior Member
Join Date: Nov 2012
Posts: 5
|
![]()
I have created 2 custom pages after INSTFILES
like !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES Page custom oldPage Page custom newPage !insertmacro MUI_PAGE_FINISH In first page back button is disabled but in second page not disabled and also in Finish page back button is enabled. How to disable these buttons ? |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Search the forum. This has been answered before.
Stu |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2012
Posts: 5
|
I got the answer.
Use this to disable a custom page ... GetDlgItem $R0 $HWNDPARENT 3 EnableWindow $R0 0 TO Disable back in finish page !define MUI_PAGE_CUSTOMFUNCTION_PRE DisableBackButton !insertmacro MUI_PAGE_FINISH Function DisableBackButton GetDlgItem $R0 $HWNDPARENT 3 EnableWindow $R0 0 FunctionEnd |
![]() |
![]() |
![]() |
|
Tags |
button, nsis |
Thread Tools | Search this Thread |
Display Modes | |
|
|