abort function can call custom function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2105 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
222db27628
commit
22611ea930
2 changed files with 8 additions and 0 deletions
|
@ -493,6 +493,11 @@ MUI_CUSTOMFUNCTION_INSTFILES_LEAVE
|
|||
MUI_CUSTOMFUNCTION_FINISH_PRE<br>
|
||||
MUI_CUSTOMFUNCTION_FINISH_SHOW
|
||||
</p>
|
||||
</p>
|
||||
<p class="text">
|
||||
<span class="bold">Installer Abort</span><br>
|
||||
MUI_CUSTOMFUNCTION_ABORT
|
||||
</p>
|
||||
<p class="text">
|
||||
<span class="bold">Uninstaller - Confirm Page</span><br>
|
||||
MUI_UNCUSTOMFUNCTION_CONFIRM_PRE<br>
|
||||
|
|
|
@ -1471,6 +1471,9 @@
|
|||
!ifdef MUI_ABORTWARNING
|
||||
Function .onUserAbort
|
||||
!insertmacro MUI_ABORTWARNING
|
||||
!ifdef MUI_CUSTOMFUNCTION_ABORT
|
||||
Call "${MUI_CUSTOMFUNCTION_ABORT}"
|
||||
!endif
|
||||
FunctionEnd
|
||||
!endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue