Skip to content
⌘ NSIS Forum Archive

MUI_CUSTOMFUNCTION_GUIINIT for uninstall?

4 posts

Marbled#

MUI_CUSTOMFUNCTION_GUIINIT for uninstall?

Hi!

I needed to change the header image for MUI2 depending on the language selected so I used the solution described here:



Unfortunately it only works when I install and not when I deinstall, is it possible possible to do the same thing for deinstallation?

Thank you and have a nice day!

Nick
jpderuiter#
Do the same with MUI_CUSTOMFUNCTION_UNGUIINIT

It's all in the MUI manual:
Anders#
It should be pretty much the same thing, just register with MUI_CUSTOMFUNCTION_UNGUIINIT instead. You can probably use the same function for both the installer and uninstaller if you want.
Marbled#
Hi!

Thank you both!

As for reusing the same function, I had to use the macro trick mentioned here:


Thank you very much for your help and have a nice day!

Nick