nsDialogs & Experience UI
Hi~
i can't english well T.T
anyways...
i want to use combination of "nsdialogs" and "experience ui"
however my setup is dies... T.T
Reproduce the following steps...
1. Execute setup.exe
2. Confirm welcome page
3. Click 'Next' button
4. Program is dead...
NSIS version is 2.4.6
Experience UI version is 1.3.1
below is my source..
=======================================================
!include "nsDialogs.nsh"
!include "XPUI.nsh"
!define APPNAME "Test App"
Name "${APPNAME}"
OutFile "Setup.exe"
BrandingText "${APPNAME}"
; Pages
!insertmacro MUI_PAGE_WELCOME
Page custom PreRegistration PostRegistration
;-----------------------------------------------------------------------------------------------------------------------
; Language
!insertmacro MUI_LANGUAGE "English"
;-----------------------------------------------------------------------------------------------------------------------
Section "Test" SectionTest
SectionEnd
Section "Uninstall"
SectionEnd
;-----------------------------------------------------------------------------------------------------------------------
Function .onInit
FunctionEnd
;-----------------------------------------------------------------------------------------------------------------------
Function .onInitSuccess
FunctionEnd
;-----------------------------------------------------------------------------------------------------------------------
var varRegistrationDialog
Function PreRegistration
;Create nsDialog registration dialog
nsDialogs::Create /NOUNLOAD 1018
Pop $varRegistrationDialog
${If} $varRegistrationDialog == error
Abort
${EndIf}
nsDialogs::Show
FunctionEnd
Function PostRegistration
FunctionEnd
=======================================================
help me plz~~