Page 1 of 1

Compiler Variables in Dialog Sequence

Posted: Tue May 17, 2011 9:30 am
by ckaware
Hello,

Based on the documentation compiler variables are "dereferenced" using #VARIABLE#.

When I try using #VARIABLE# on the Welcome screen GUI Dialog, it doesn't resolve #VARIABLE# and it actually displays "#VARIABLE#."

I'm trying to replace $COMPANY$ with #OEM_LONG# where #OEM_LONG# is set at the command line build to something like "Company X."

What's the best method of doing this?

I could set another $VARIABLE$ to #VARIABLE#, but is this recommended/ necessary?

Thanks,

Chris.

Re: Compiler Variables in Dialog Sequence

Posted: Tue May 17, 2011 12:31 pm
by giaviv
Dear Chris,

I am not sure this is possible. Please try the workaround you suggest and let me now if it works for you!

Re: Compiler Variables in Dialog Sequence

Posted: Wed May 18, 2011 7:34 am
by ckaware
Setting $OEM_LONG$ to #OEM_LONG# does "fix" the issue.
Is there a reason we can't deference these compiler variables here?

Chris.

Re: Compiler Variables in Dialog Sequence

Posted: Wed May 18, 2011 8:56 am
by giaviv
Dear Chris,

Compiler variables are simply restricted to MSIcode.