MUI_CUSTOMFUNCTION_STARTMENU_LEAVE: use Leave function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2676 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
973a61fbcf
commit
b0f87bd459
1 changed files with 35 additions and 31 deletions
|
@ -670,7 +670,7 @@
|
|||
!define MUI_STARTMENUPAGE
|
||||
!endif
|
||||
|
||||
Page custom mui.Startmenu "" "" "MUI_INSTALLBUTTON_STARTMENU"
|
||||
Page custom mui.StartmenuPre mui.StartmenuLeave "" "MUI_INSTALLBUTTON_STARTMENU"
|
||||
|
||||
!ifndef MUI_NOVERBOSE & MUI_MANUALVERBOSE
|
||||
!verbose 4
|
||||
|
@ -931,7 +931,7 @@
|
|||
!endif
|
||||
|
||||
!ifdef MUI_STARTMENUPAGE
|
||||
!insertmacro MUI_FUNCTIONS_STARTMENUPAGE mui.Startmenu
|
||||
!insertmacro MUI_FUNCTIONS_STARTMENUPAGE mui.StartmenuPre mui.StartmenuLeave
|
||||
!endif
|
||||
|
||||
!insertmacro MUI_FUNCTIONS_INSTFILESPAGE mui.InstFilesPre mui.InstFilesShow mui.InstFilesLeave
|
||||
|
@ -1079,9 +1079,9 @@
|
|||
|
||||
!macroend
|
||||
|
||||
!macro MUI_FUNCTIONS_STARTMENUPAGE FUNCTION
|
||||
!macro MUI_FUNCTIONS_STARTMENUPAGE PRE LEAVE
|
||||
|
||||
Function "${FUNCTION}"
|
||||
Function "${PRE}"
|
||||
|
||||
!ifdef MUI_CUSTOMFUNCTION_STARTMENU_PRE
|
||||
Call "${MUI_CUSTOMFUNCTION_STARTMENU_PRE}"
|
||||
|
@ -1114,6 +1114,10 @@
|
|||
|
||||
Pop ${MUI_TEMP1}
|
||||
|
||||
FunctionEnd
|
||||
|
||||
Function "${LEAVE}"
|
||||
|
||||
!ifdef MUI_CUSTOMFUNCTION_STARTMENU_LEAVE
|
||||
Call "${MUI_CUSTOMFUNCTION_STARTMENU_LEAVE}"
|
||||
!endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue