You have to specifically enable the Cancel button if you want it (I didn't want to break existing installers). For example:
Section
; Enable CANCEL button
GetDlgItem $0 $HWNDPARENT 2
EnableWindow $0 1
SectionEnd
7 posts
Section
; Enable CANCEL button
GetDlgItem $0 $HWNDPARENT 2
EnableWindow $0 1
SectionEnd
Thanks, I got this working although I never figured out the correct way to use the txt file as a patch.I think you can use patch.exe from http://unxutils.sourceforge.net/.
I've been wanting this not because I thought it should be there but because my QA department keeps pointing it out. We've also had a few calls from customers.Aborting an installation may leave a mess behind, but you've got to consider the alternative. I've got a large installation that can take 10 minutes to complete. If I didn't provide some way for users to bail out, they'll bring up Task Manager and start nuking random processes.
Originally posted by kichikGood point! I'll upload a new patch to SourceForge.
One outstanding problem is that you still can't cancel during extraction of big files.