Predefined Language
Posted: Wed Feb 26, 2014 4:11 am
I use the pre defined variable LANGUAGE to find out, if the selected installation language is German or not. Dependend of this information i want install a german or an english help file. The code i used is the following:
I watch the Variable INSTALLANG in debug mode and the value ist German but always the else part is executed. Where ist the mistake?
Code: Select all
Set Variable INSTALLLANG to $LANGUAGE$
...
if Variable INSTALLLANG Equals German
Create Shortcut $SHORTCUTFOLDER$\Hilfe to $TARGETDIR$\system\help\deutsch\ems-edm.chm, Pin to Start Menu
else
Create Shortcut $SHORTCUTFOLDER$\Hilfe to $TARGETDIR$\system\help\english\ems-edm.chm, Pin to Start Menu
end
I watch the Variable INSTALLANG in debug mode and the value ist German but always the else part is executed. Where ist the mistake?