fixed MUI_FINISHPAGE_CANCEL_ENABLED and removed some useless code

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5642 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2008-05-29 21:17:13 +00:00
parent cddfeabec9
commit fb57dfde77
2 changed files with 3 additions and 7 deletions

View file

@ -71,9 +71,7 @@ Finish page (implemented using nsDialogs)
!endif
!endif
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAPS
!insertmacro MUI_DEFAULT MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
!endif
!insertmacro MUI_DEFAULT MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
!macroend
@ -254,7 +252,7 @@ Finish page (implemented using nsDialogs)
;Enable cancel button if set in script
!ifdef MUI_FINISHPAGE_CANCEL_ENABLED
EnableWindow $mui.Button.Next 1
EnableWindow $mui.Button.Cancel 1
!endif
;Create dialog

View file

@ -23,9 +23,7 @@ Welcome page (implemented using nsDialogs)
Var mui.WelcomePage.Text
!endif
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAPS
!insertmacro MUI_DEFAULT MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
!endif
!insertmacro MUI_DEFAULT MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
!macroend