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

3 visualizaciones (últimos 30 días)
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?

Respuestas (2)

Jason Ross
Jason Ross el 9 de Mzo. de 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 comentario
Michael
Michael el 30 de Jul. de 2013
Editada: Michael el 30 de Jul. de 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!

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 9 de Mzo. de 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

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by