Skip to content
⌘ NSIS Forum Archive

how can disable finish page when setup abort

2 posts

r2du-soft#

how can disable finish page when setup abort

hi
i use from "!insertmacro MUI_PAGE_FINISH" in project...
now after finish setup or after abort or cancel setup from user i see finish page.
i want when setup automatic finished then i see finish page with finish bottom else i see close bottom and cant see finish page.
is this possible?
LoRd_MuldeR#
I don't see "Finish" page when setup was aborted 🤪

Anyway, you can put !define MUI_PAGE_CUSTOMFUNCTION_PRE MyFunction immediately before !insertmacro MUI_PAGE_FINISH to define a so-called "pre" function. That function will be called before the page is shown. And if the function calls Abort, the page is skipped over.

See also: