|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Member
Join Date: Sep 2007
Posts: 63
|
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! ![]() ![]() --------------------------------------------------- !define MUI_CUSTOMFUNCTION_ABORT MyAbort Function MyAbort ???? FunctionEnd ------------------------------------------------------ |
![]() |
![]() |
![]() |
#2 |
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Enabling the Cancel button during installation is not supported. How did you enable it?
|
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Sep 2007
Posts: 63
|
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 ------------------------------------------- |
![]() |
![]() |
![]() |
#4 | |
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Re: ABORTWARNING problem for installing files 'Cancel' button?
Quote:
http://forums.winamp.com/showthread....82#post2299082 Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|