Skip to content
⌘ NSIS Forum Archive

Custom Dialog + Next Button

3 posts

ChocJunkie#

Custom Dialog + Next Button

Hi

I would like to create a custom dialog for my installer. I know it can be done using InstallOptions(2) or MUI(2). Can anybody give me a recommandation about what to use?

And I want to en/disable my next button. I looked, but I haven't found a solution - neither for InstallOptions nor for MUI. I finde it kind of funny, because InstallOptions has the possibility to en/disable the back button.

Thanks for any help. 🙂

CJ
samiz2#
I am using the following code to disable next button.

 
Page custom InstallTypeStart InstallTypeEnd

Function InstallTypeStart
GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 0

!insertmacro MUI_INSTALLOPTIONS_DISPLAY "installtype.ini"
FunctionEnd