For example: Would it give an error if I try to access the value of installdir by setting ${INSTALLDIR} ?
No, installer environment variables are not case sensitive. You can access the value of the installdir installer environment variable using either ${installdir} or ${INSTALLDIR}.