Configuration Variable Syntax - Boolean Test If One Variable Assignment Not Equal to Another Variable Assignment

I'm trying to use this block of code in a CFG file

%if $(_USTN_USERINT)$(_USTN_USERINTNAME)\*.dgnlib != $(_MDSHA_USERROOT)*.dgnlib

But get an error message in a command prompt "expect BoolInt expression, (filename, line number)

What am I doing wrong?