MATLAB: Am I unable to run mps-setup on a non-English localization of Windows

MATLAB Production Server

I am running a version of Windows with something other than the English language pack enabled. I have installed MPS but when I run mps-setup, I get this error message:
Error: could not determine MPS_INSTALL
Try setting MPS_ARCH to one of the following:
There are no suggestions for setting MPS_ARCH. How can I resolve this?

Best Answer

This error occurs because MPS_INSTALL is looking for the directory "Program Files" but cannot find it because your language pack has changed the name of "Program Files" to reflect the language you have enabled. (For example, if you are using a Portuguese language pack, then the name of the Program Files directory will be "Arquivos de Programas.")
To resolve this error, create a directory on the root of your C: drive named "Program Files", in English. MPS will then use this directory for installation components.