MATLAB Answers

Why do I receive the errors "Winzip Error 5 running command .\setup.exe" or "This App can not run on your PC" during the installation process on Windows?

400 views (last 30 days)
I am not able to install MATLAB on Windows and I am receiving one of the following error messages:
Error 5 running command .\setup.exe
setup.exe is not a valid win32 application
This App can not run on your PC

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Sep 2020
Edited: MathWorks Support Team on 1 Sep 2020
There are a few reasons why "Error 5" may occur:
Product Incompatibility
This error can occur when attempting to install MATLAB 64-bit on a 32-bit operating system.
MATLAB 64-bit cannot be installed on Windows 32-bit, even if your processor is 64-bit.
SOLUTION: Install MATLAB 32-bit (R2015b or earlier). ARM 64 bit processors are currently not supported.
Corrupt Download / Antivirus Software
This error can occur if the installation files are corrupt.
Antivirus software will sometimes scan and corrupt downloaded files.
SOLUTION: Temporarily disable any antivirus software and download a new copy of the installer.
Windows Permissions
This error can occur if the self-extractor file does not have sufficient permissions to run.
SOLUTION: Navigate to the folder self-extractor file and right-click on the file and select "Run as administrator". If you do not have administrator privileges, please contact your IT department for further information on obtaining these privileges and installing software.


Show 3 older comments
Teo Cvetkovski
Teo Cvetkovski on 23 Mar 2020
I recieve the same issue "error 5". My computer is the Galaxy Book 2 with 64bit OS and ARM Processor.
I saw you mentioned that ARM processors are not supported. Is that the cause of the problem and is there any way I can install MATLAB on this computer?
Suzan Meijs
Suzan Meijs on 28 Apr 2020
It is also possible that your file is in the download folder and your organization does not allow you to install the program from there (security measure). Try moving the file to a folder on the C-drive and install it from there.
Umair Nasir
Umair Nasir on 23 Jun 2020
I downloaded the setup on a different PC, and extracted the files. Then copied the extracted files to the PC on which error 5 appears. Now Matlab was able to be installed.

Sign in to comment.

More Answers (4)

John Coutou
John Coutou on 19 Sep 2019
Hi, I tried all the sugestions above. still getting the error 5.
My computer is 32bit. Need help.. I have school assignment to get done...

  1 Comment

Colin Fraser
Colin Fraser on 25 Sep 2019
Make sure that the installer you are using is compatible with your operating systems. Any version R2016a and above will not work with a 32-bit machine.
If you are still experiencing this issue, please contact MathWorks support:
-Colin Fraser

Sign in to comment.


No tags entered yet.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!