From 22611ea93069daa4efe0af706dbf171c2b2242da Mon Sep 17 00:00:00 2001
From: joostverburg
MUI_CUSTOMFUNCTION_FINISH_SHOW
+Installer Abort
+MUI_CUSTOMFUNCTION_ABORT
+
Uninstaller - Confirm Page
MUI_UNCUSTOMFUNCTION_CONFIRM_PRE
diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh
index 1e934e80..7cc6e721 100644
--- a/Contrib/Modern UI/System.nsh
+++ b/Contrib/Modern UI/System.nsh
@@ -1471,6 +1471,9 @@
!ifdef MUI_ABORTWARNING
Function .onUserAbort
!insertmacro MUI_ABORTWARNING
+ !ifdef MUI_CUSTOMFUNCTION_ABORT
+ Call "${MUI_CUSTOMFUNCTION_ABORT}"
+ !endif
FunctionEnd
!endif