How can i know if the Windows is in English or Spanish? i wanna make something like this:
if windows is in spanish:
var datosdeprogramas
Section "XXXXXXXX"
StrCpy $datosdeprogramas "Datos de Programa"
SetOutPath $PROFILE\$datosdeprogramas\XXX
File licencia.txt
SectionEnd
but if windows is in english:
Section "XXXXXXXX"
StrCpy $datosdeprogramas "Application dates"
SetOutPath $PROFILE\$datosdeprogramas\XXX
File licencia.txt
SectionEnd
Windows language?
2 posts
isn't that directory the same as $APPDATA? otherwise, try using language strings.
however, as a direct answer to your question: the language should be stores in the registry. i've previously used HKCU\Control Panel\International\Locale, but i'm not certain that's the right key to look for.
however, as a direct answer to your question: the language should be stores in the registry. i've previously used HKCU\Control Panel\International\Locale, but i'm not certain that's the right key to look for.