Archive: Quit doesn't quit!


Quit doesn't quit!
Hi All,
I would like the installer to quit upon a rollback scenario from a custom function.
A small code snippet:

...
!define MUI_CUSTOMFUNCTION_ABORT RollBack
...

Function RollBack
...
HideWindow

Banner::show "Rolling back"
; Perform all rollback functions
...
Banner::destroy

Quit
FunctionEnd

Problem is though i dont see anything anymore, the setup.exe (the installer executable) is still running when i look at all the processes in the Task Manager. Am i missing something here?

thanks in advance.


When the abort button is clicked, the quit flag is already set. Try removing the Quit element all together.

-Stu