How to enable language selection display using cpack, cmake and NSIS?

54 Views Asked by At

I am using cpack, cmake and NSIS to create an installer for my application. The result does not display the language selection options as default and there is no cpack nsis flag to enable it (https://cmake.org/cmake/help/latest/cpack_gen/nsis.html).

It seems there should be a !insertmacro MUI_LANGDLL_DISPLAY inside the .onInit function of the nsi project configuration. But I can't find a way to force that macro inside the correct function via cpack/cmake commands.

0

There are 0 best solutions below