# MATLAB: Am I getting an error about installing MATLAB into the same directory as the installer files

MATLAB

During installation, when I select the installation directory, I receive the following error and cannot proceed:
 "Cannot install to the same directory as the installer.  Please install in a different directory."

• This error is caused by running Installer.exe from within the MATLAB installation directory. Installer.exe creates the file mwinstaller.dll in $MATLAB\bin\win32\ (where$MATLAB is the MATLAB installation directory). When this file is present, the MATLAB installation is not prevented as you should not install MATLAB into the directory where the installation files are located.