david.scheffel
10th August 2004 12:26 UTC
Confused about VIAddVersionKey using lang_id?
Hello there,
I'm a bit confused about the VIAddVersionKey Attribute. Why does it use/require an lang_id? It seems to be an simple flag that specifies setup language. Why can't this been specified in a way like this?
VILanguage "LANG_ENGLISH"
VIAddVersionKey "ProductName" "MyApp"
[...]
Is there an other feature hidden within it?!
Thanks...
David
kichik
12th August 2004 21:30 UTC
A number is needed instead of a string because there are just too many languages to create a map between language names and language identifiers.
You also don't have to use /LANG= every time. If it's not used, the last used language will be used.
For example, this should work:
VIAddVersionKey /LANG=1033 "something" "something"
VIAddVersionKey "still English" "something"