Skip to content
⌘ NSIS Forum Archive

Modern UI problem on linux

3 posts

ericgen34#

Modern UI problem on linux

I am trying to compile a modern UI script on a linux machine and I am getting an error:

!insertmacro: MUI_PAGE_WELCOME
Invalid command: nsDialogs::Create
Error in macro MUI_FUNCTION_WELCOMEPAGE on macroline 7
Error in macro MUI_PAGEDECLARATION_WELCOM on macroline 18
Error in macro MUI_PAGE_WELCOME on macroline 6
Error in script "builder.nsi" on line 35 -- aborting creation process
I have built the installer following link and just copied across the modern UI plugin files. Is there any way to resolve this problem?

Any help greatly appreciated, thanks
MSG#
Apparently you're missing the nsDialogs plugin. On windows it suffices to put the plugin in the NSIS\plugins directory. Something similar on Linux, I assume?
ericgen34#
That's it! Thanks a lot. After what you said, I noticed in the output that the path where it expected the plugins wasnt the same as the one where I got them.

Thanks very much