Matlab Runtime 7.15 (MCR) issue for Window 7

I got an issue with Matlab Runtime 7.15 on Window 7.
I use Matlab Runtime 7.15 to create one standalone exe file with a Window XP computer, which requires many other input files. This exe file will call one of other three exe files in the same folder depending on conditions. When I install this package into the folder of Program Files (x86) of a Window 7 computer, it will run the standalone exe file, but the program will hang there and never quit when it calls one of the three exe files. However, If I install the package into any of local folder rather than Program Files or Program Files (x86), it works fine. The questions are
What is the reason to cause this issue? Do I need 64 bit MCR to deploy the exe program for Window 7? Can I install the files that are created by XP window into Program Files of Window 7?

 채택된 답변

Jason Ross
Jason Ross 2011년 12월 14일

0 개 추천

Is/was your Windows XP 32-bit? (I assume yes) Is your Windows 7 64-bit? (I assume yes)
The "Program Files" folder on a 64-bit Windows system is for 64-bit applications. The "Program Files (x86)" directory is for 32-bit applications.
Windows 7 also has "UAC" (User Access Control), which is a security feature designed to make it harder for malware/viruses to infect your computer. This imposes restrictions on what should be going on in the Program Files directories, as well as the Windows system directories. So depending on what your executable files are doing, they may be denied the ability to write in the directory, so if you were expecting that to happen, you are out of luck -- and that would be consistent with it working in other directories.

추가 답변 (1개)

Jordan
Jordan 2012년 3월 20일

0 개 추천

I basically have the same problem (although I am not calling other exe applications from the initial one)...my application simply would not successfully initialize even though I installed the MCR and set the environment variable path. Did you ever get this working? If so, what did you have to do?

댓글 수: 1

Jordan: I think that yours may be an entirely separate issue which warrants a new question.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by