Skip to content
⌘ NSIS Forum Archive

Mui_unfinishpage_run?

7 posts

gilles_tagada#

Mui_unfinishpage_run?

As the files I'd like to install are a plugin, I have to stop the program before installing ou uninstalling and to run it after the process.

Is there a way to make it?
Joost Verburg#
There are several options, you can send a close message, kill the process etc.

Search the forom for details.
Vytautas#
If you need to make sure that the program is restarted after (un)install you can execute them in the finish page fuctions, show or leave. If you want the user to be able to choose if the program is to be restarted then use the built-in MUI macros for it.

Vytautas
gilles_tagada#
That was my question (even if it wasn't clear) : what is the MUI macro to use to let the user choose to run or not a program at the end of uninstall?
I've found the MUI macro to use at the end of install (Mui_finishpage_run)
Joost Verburg#
There is no difference here between the installer settings and uninstaller settings.

Use MUI_FINISHPAGE_RUN before the uninstaller finish page macro.
Comm@nder21#
@joost:
u mean, to use it before the uninstaller-page macro, but _after_ the installer-page macro? is that right?

will in later releases a second macro for uninstall-functions be included?
Joost Verburg#
Settings are page specific. You should define the setting right before the page macro (for both installer pages and uninstaller pages).