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?