Archive: VIAddVersion Question


VIAddVersion Question
when i'm using VIAddVersion in a script with multiple languages, everything works fine. when i compile the same script using non-english languages only, i'm always getting warnings (i.e. LangString "LabelSettings" is not set in language table of language 1033, but for ALL langstrings). this only happens, when i use the VIAddVersion commands, unregarding if i use them with /LANG switch or not.


Did you use VIAddVersion after loading the language file? Simply changing English to some other language in Examples\VersionInfo.nsi works fine for me.


no, before loading them. try uncommenting line 5 and use "german" as language.


Then that's the problem. Without any language file loaded, the default is English. Therefore, you get an English language table just for the version information, even though you only want to use German. Move VIAddVersion below LoadLanguageFile.