lovespy108
25th January 2008 01:56 UTC
ABORTWARNING problem for installing files 'Cancel' button?
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!:( :up:
---------------------------------------------------
!define MUI_CUSTOMFUNCTION_ABORT MyAbort
Function MyAbort
????
FunctionEnd
------------------------------------------------------
Joost Verburg
25th January 2008 02:36 UTC
Enabling the Cancel button during installation is not supported. How did you enable it?
lovespy108
25th January 2008 02:50 UTC
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
-------------------------------------------
Red Wine
25th January 2008 04:21 UTC
Re: ABORTWARNING problem for installing files 'Cancel' button?
Originally posted by lovespy108
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...
You should read kichik's suggestion on the other thread you've opened about the same subject,
http://forums.winamp.com/showthread....82#post2299082