Skip to content
⌘ NSIS Forum Archive

/ENABLECANCEL for last page doesn't work

2 posts

Nils Schneider#

/ENABLECANCEL for last page doesn't work

Hi,

I tried to search for "cancel", "abort", "ENABLECANCEL" but didn't succeed, so I'm asking:

Why doesn't the /ENABLECANCEL flag work for the page "instFiles" although it's the last page in my installer? The documentation states it should work this way.

Is there any other way to enable the "Cancel" button while copying files?

Regards,

Nils
JasonFriday13#
Currently, you can't stop an installation of an NSIS installer. I would use the nxs plug-in, because this has cancel functionality. If you have many files in your install, I would suggest you write a small app like the one here. It makes a list of files as an NSIS header file, and is then included into the main installer. Add extra commands for the nxs plug-in in the script. This is just one solution, can't think of other solutions.