Archive: Delete a file/folder if Cancel buton is pressed ?


Delete a file/folder if Cancel buton is pressed ?
Hi again

like the topic say's, is this possible ?
i have the hwndparent (GetDlgItem $R0 $HWNDPARENT 2)
but al the things i did try non of them work

any help ?

thanks


Last I checked, Kichik disabled the cancel button while your installer is running.

If your talking about before your install runs, you can use a .onuserabort function.

I tried everything to get kichik to enable the cancel button, but with no luck. :mad:


ender, you can enable it yourself!

by either ...
- using a plugin (there are some in the forums, just search)
- using the right winapi calls with system.dll
- changing nsis' source and recompile it (very easy thanx to scons)