I made the 'Cancel' button to be enabled when installing files or uninstalling files.But when I clicked the 'Cancel' button,though it popped up messagebox to prompt me,the installing or uninstalling process was still continuing.
I want the that process paused when it popped up messagebox,and when I cancel the messagebox,it will install or uninstall at once.
I thought I should define my own ABORTWARNING OR UNABORTWARNING Function to realize that.
I have no way to write that script.Help me please!
Thanks very much!🙁 👍
---------------------------------------------------
!define MUI_CUSTOMFUNCTION_ABORT MyAbort
Function MyAbort
????
FunctionEnd
------------------------------------------------------
ABORTWARNING problem for installing files 'Cancel' button?
4 posts
Enabling the Cancel button during installation is not supported. How did you enable it?
The following way can enable the 'Cancel' button on the installfiles page.
-----------------------------------------------
!define MUI_PAGE_CUSTOMFUNCTION_PRE MyInstPre
!insertmacro MUI_PAGE_INSTFILES
Function MyInstPre
GetDlgItem $MUI_TEMP1 $HWNDPARENT 2
EnableWindow $MUI_TEMP1 1
FunctionEnd
-------------------------------------------
-----------------------------------------------
!define MUI_PAGE_CUSTOMFUNCTION_PRE MyInstPre
!insertmacro MUI_PAGE_INSTFILES
Function MyInstPre
GetDlgItem $MUI_TEMP1 $HWNDPARENT 2
EnableWindow $MUI_TEMP1 1
FunctionEnd
-------------------------------------------
Re: ABORTWARNING problem for installing files 'Cancel' button?
Originally posted by lovespy108You should read kichik's suggestion on the other thread you've opened about the same subject,
I made the 'Cancel' button to be enabled when installing files or uninstalling files.But when I clicked the 'Cancel' button,though it popped up messagebox to prompt me,the installing or uninstalling process was still continuing...