Error Installing standalone application in Windows 7: Aborting installation: could not spawn unzip process

3 views (last 30 days)
Recently when I tried to install a stand-alone application complied by MATLAB Component Runtime, it gave me the following error message:
aborting installation: could not spawn unzip process.
The application is successfully installed Windows XP. The error happened when installing in Windows 7, does anybody have any idea how to solve it?

Answers (2)

Jason Ross
Jason Ross on 9 Mar 2012
A couple of ideas come to mind:
  1. How was the unzipping happening? Was it looking for a particular program? Is it trying to write into a folder where it doesn't have permissions to write?
  2. Have you tried running the installation with elevated permissions? Windows 7 has a different security setup than Windows XP. A quick way to try this out is to launch a command window with adminstrator privileges (hover over cmd, right click, "Run as Adminstrator", then launch the program in that prompt) and see if the error persists.
  3. A variation of the above is to start the install with elevated permissions. Select the installer program, right click it and say "run as Administrator".
  1 Comment
Michael
Michael on 30 Jul 2013
Edited: Michael on 30 Jul 2013
Tip number 2 of Jason Ross' answer above helped me.
I found that I needed to re-run the MCR installer using the cmd prompt under administrator mode (even though my user has admin rights), and ALSO run the application via admin cmd prompt as well.
The cmd
pushd
helped speed up navigation to relevant folders
Thanks!

Sign in to comment.


Walter Roberson
Walter Roberson on 9 Mar 2012
Was the application compiled for Windows 32, and are you trying to install it on Windows 64 ?
I do not know which unzip program is used by MCR, but see this previous discussion: http://www.mathworks.com/matlabcentral/answers/27979-pkunzip-for-x64-matlab

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!