Matlab Runtime 7.15 (MCR) issue for Window 7

5 次查看(过去 30 天)
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
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
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 个评论
Kaustubha Govind
Kaustubha Govind 2012-3-20
Jordan: I think that yours may be an entirely separate issue which warrants a new question.

请先登录,再进行评论。

类别

Help CenterFile 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