PDA

View Full Version : Quit doesn't quit!


aadya
23rd September 2004, 08:35
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.

Afrow UK
23rd September 2004, 16:55
When the abort button is clicked, the quit flag is already set. Try removing the Quit element all together.

-Stu