Cancel enabled on Finish page, showreadme/run not executed when clicking cancel
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3095 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
23eb38ca31
commit
47be8be68b
3 changed files with 14 additions and 1 deletions
|
@ -258,6 +258,8 @@ Var MUI_TEMP2
|
||||||
|
|
||||||
!macro MUI_ABORTWARNING
|
!macro MUI_ABORTWARNING
|
||||||
|
|
||||||
|
StrCmp $MUI_NOABORTWARNING "1" mui.quit
|
||||||
|
|
||||||
!ifdef MUI_ABORTWARNING_TEXT
|
!ifdef MUI_ABORTWARNING_TEXT
|
||||||
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
|
MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_ABORTWARNING_TEXT}" IDYES mui.quit
|
||||||
!else
|
!else
|
||||||
|
@ -1380,6 +1382,11 @@ Var MUI_TEMP2
|
||||||
Var MUI_HWND
|
Var MUI_HWND
|
||||||
!define MUI_VAR_HWND
|
!define MUI_VAR_HWND
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
!ifndef MUI_VAR_NOABORTWARNING
|
||||||
|
Var MUI_NOABORTWARNING
|
||||||
|
!define MUI_VAR_NOABORTWARNING
|
||||||
|
!endif
|
||||||
|
|
||||||
!ifndef MUI_FINISHPAGE_NOAUTOCLOSE
|
!ifndef MUI_FINISHPAGE_NOAUTOCLOSE
|
||||||
AutoCloseWindow true
|
AutoCloseWindow true
|
||||||
|
@ -1659,9 +1666,13 @@ Var MUI_TEMP2
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!insertmacro MUI_FUNCTION_CUSTOM SHOW
|
!insertmacro MUI_FUNCTION_CUSTOM SHOW
|
||||||
|
|
||||||
|
StrCpy $MUI_NOABORTWARNING "1"
|
||||||
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_SHOW_RETURN
|
!insertmacro MUI_INSTALLOPTIONS_SHOW_RETURN
|
||||||
|
|
||||||
|
StrCpy $MUI_NOABORTWARNING ""
|
||||||
|
|
||||||
GetDlgItem $MUI_TEMP1 $HWNDPARENT 1028
|
GetDlgItem $MUI_TEMP1 $HWNDPARENT 1028
|
||||||
ShowWindow $MUI_TEMP1 ${SW_NORMAL}
|
ShowWindow $MUI_TEMP1 ${SW_NORMAL}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
Rect=1044
|
Rect=1044
|
||||||
NumFields=3
|
NumFields=3
|
||||||
|
CancelEnabled=1
|
||||||
[Field 1]
|
[Field 1]
|
||||||
Type=bitmap
|
Type=bitmap
|
||||||
Left=0
|
Left=0
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
Rect=1044
|
Rect=1044
|
||||||
NumFields=3
|
NumFields=3
|
||||||
|
CancelEnabled=1
|
||||||
[Field 1]
|
[Field 1]
|
||||||
Type=bitmap
|
Type=bitmap
|
||||||
Left=0
|
Left=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue