MATLAB: Do I receive a “B.dll (Access is denied)” when installing MATLAB on the Windows machine

MATLAB

While installing MATLAB using downloaded files I received the following error:
%%%
The following error was detected while installing C:\DOCUME~1\<username>\LOCALS~1\Temp\mathworks_downloads\R2011a_Student_Version\archives\win32\MATLAB712_win32.zip: C:\Program Files\MATLAB\R2011a Student\sys\perl\win32\lib\auto\B\B.dll (Access is denied)
Would you like to retry installing C:\DOCUME~1\<username>\LOCALS~1\Temp\mathworks_downloads\R2011a_Student_Version\archives\win32\MATLAB712_win32.zip?
If you press No, the installer will exit without completing the installation. More information can be found at C:\DOCUME~1\<username>\LOCALS~1\Temp\mathworks_<username>.log"
%%%

Best Answer

McAfee virus protection software has an add-on called Access Protection. This feature is known to flag certain installer files, preventing MATLAB installer from completing. To work around this issue, disable or uninstall Access Protection and MATLAB should install without issue. Access Protection can then be enabled or reinstalled after the installation completes. For a detailed outline of disabling this feature, follow this link to the McAfee support site: