Skip to content
⌘ NSIS Forum Archive

LangString in onInit

2 posts

sfranklin#

LangString in onInit

Hi,

I know this has been raised before, but i was hoping that the issue may have been solved in the last few releases, or someone may have thought of some ingenious solution (/me crosses fingers).

I have an onInit function that does quite a lot (both when run silently and not), and i need to I18N the messages from these checks, is there, or will there be any way to get LangStrings used on the onInit function? From what I have seen on other posts the only way is to use the guiOnInit function (but that isnt run in silent installs)

thanks

Steve
kichik#
The problem has not been solved yet. The only possible solution I know of, is the use of lots of conditions. LogicLib's switch can be used for easier coding.