Skip to content
⌘ NSIS Forum Archive

Quit not working

4 posts

petersi#

Quit not working

I have a callback operation where I am tripping a quit operation. But the installer does not quit:

Function CancelNotification
GetFunctionAddress $2 Exit
ThreadTimer::Start /NOUNLOAD 10 1 $2
FunctionEnd

Function Exit
Quit
FunctionEnd

I've tried calling quit in the CancelNotification callback operation - but still fails to quit the installer.

Peter
petersi#
Originally Posted by Anders View Post
Quit sets a flag, it is not an instant action. Where/when are you calling it?
calling it via a callback operation. What operation can I call tro close the installer?
Anders#
Yes but there is no context. What type of page? In the pre page callback? A custom timer thing?