Unable to Set the Language Variable.
Posted: Mon Jul 12, 2010 2:29 am
I am new to InstallAware. I have the below code:
DEFINE REGION: Check Application Requirements
Set System Setting Language (Numeric) into OSLANGUAGE
Set Variable LANGUAGE to ENGLISH
if Variable OSLANGUAGE Equals 1036
Set Variable LANGUAGE to FRENCH
end
if Variable OSLANGUAGE Equals 1031
Set Variable LANGUAGE to GERMAN
MessageBox: $TITLE$, $LANGUAGE$ ==> Messagebox Appears with empty string
end
MessageBox: $TITLE$, OS CODE, $OSLANGUAGE$
MessageBox: $TITLE$, Lang, $LANGUAGE$
...
I have built the Translations needed for the German and French. But this piece of code is sometimes working and sometimes not. I started assuming that this might be an issue in the InstallAware product. Has anyone faced this kind of issue ? I appreciate if someone shares one's experience on the same.
Thanks,
Narayana
DEFINE REGION: Check Application Requirements
Set System Setting Language (Numeric) into OSLANGUAGE
Set Variable LANGUAGE to ENGLISH
if Variable OSLANGUAGE Equals 1036
Set Variable LANGUAGE to FRENCH
end
if Variable OSLANGUAGE Equals 1031
Set Variable LANGUAGE to GERMAN
MessageBox: $TITLE$, $LANGUAGE$ ==> Messagebox Appears with empty string
end
MessageBox: $TITLE$, OS CODE, $OSLANGUAGE$
MessageBox: $TITLE$, Lang, $LANGUAGE$
...
I have built the Translations needed for the German and French. But this piece of code is sometimes working and sometimes not. I started assuming that this might be an issue in the InstallAware product. Has anyone faced this kind of issue ? I appreciate if someone shares one's experience on the same.
Thanks,
Narayana