Archive: 'Quit' don't work in 'WELCOMEPAGE'


'Quit' don't work in 'WELCOMEPAGE'
Hello
I Have this problem:

[...]
!define MUI_CUSTOMFUNCTION_ABORT UserAbort ;in top of the installer

[...]

Function UserAbort
StrCmp $some "yes" 0 +3
MessageBox MB_OK "Game Over"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Test
Quit
FunctionEnd
I know that the function UserAbort is Colled but Quit don't work.


===================EDIT================
I solve this witch Plug-in:
[...]
!define MUI_CUSTOMFUNCTION_ABORT UserAbort ;in top of the installer

[...]

Function UserAbort
StrCmp $some "yes" 0 +3
MessageBox MB_OK "Game Over"
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Test
KillProcDLL::KillProc $EXEFILE
FunctionEnd
But it is a bit silly

MUI_CUSTOMFUNCTION_ABORT defines a function to run as part of the .onUserAbort function.

And if the install is executing the .onUserAbort function, it means it's ALREADY on it's way to QUITTING the installation. So what sense does it make to try to use the QUIT command? :confused:


O F*** this is genius.
Yes I'm noob;]

Thx Comperio