Inno Setup checks the environment variables in this order: TMP, TEMP, USERPROFILE, and if none of these point to a valid directory, it then uses Windows directory. If it's using C:\Temp at your customer, they have one of these variables set to C:\Temp.
We have customers whose machines are configured (for security reasons) to prohibit write access to the Temp directory.