Archive: POSIX nsis 2.10 produces installers without dialog resources


POSIX nsis 2.10 produces installers without dialog resources
I've been preparing a debian package of 2.10, and just tested it. It seems that POSIX nsis 2.10 produces installers without dialog resources, meaning the GUI will not come up. Those installers that have MessageBox calls will show message boxes. The installers that use the Modern UI do work. I've attached a zip file containing an example of a broken installer, and one created by the windows version of makensis. The weird thing is that the broken installers do contain icon resources.


Thanks, fixed and uploaded source code for 2.10-1.

The problem was caused by the move of configuration from config.h to the build system. SCons MinGW's tool definition, unlike MSVC's, didn't pass CPP defines to windres. This caused most of the dialogs to be skipped.

I've submitted a patch to SCons and added a workaround to SCons\Config\gnu and SCons\Tools\crossmingw.py.


Thanks, it is on its way to debian now!