Install* MCR without Administrator rights

Hello everybody,
I want compile some GUI into windows standalone application (*exe).
To run these application I need to install MCR and I tried to follow this procedure:
The main idea is run my applications in different computers WITHOUT the necessity of privileges to run it.
Doing the steps when I want to run vcredist_x86.exe in a different computer it is required the privileges.
There was also other alternative with an older version here:
My version is 2010b but I can use the most recent version which support the possibility to run MCR without privileges.
Thanks in advance.
Regards

 채택된 답변

Friedrich
Friedrich 2011년 10월 7일

1 개 추천

Hi,
there is no supported way to get it working without admin privileges. The steps which are needed to take are explained in the documentation (replace network drive with local drive):
So you have to install the vcredist_x86.exe which needs privileges. The MCR can simply be copied from another install location.

댓글 수: 5

fjnb86
fjnb86 2011년 10월 7일
Hi Friedrich and thanks for your prompt answer,
Your link is the same as I put ;)
Therefore, I need privileges for each computer I want to run the application? inclusive when I have the installation in a shared folder?
In this case I really do not understand the utility of install in a shared folder.
**
What about the second option? until which version was permitted run applications without privileges
best
Friedrich
Friedrich 2011년 10월 7일
Every version needs privileges since every version requires a redistributable package (vcredist_x86.exe) to be installed and one has to edit the environment variable PATH.
There is no supported way around this.
fjnb86
fjnb86 2011년 10월 7일
Ok, understood.
Despite the fact that now there is no supported way, until which MATLAB version was possible run standalone apps without privileges?
thanks
Jason Ross
Jason Ross 2011년 10월 7일
It's not something tied to a MATLAB version. The request for elevated privileges is a result of the UAC (User Access Control) functionality introduced by Microsoft starting in Vista. Any arbitrary program that installs something will require elevated privileges.
Jason Ross
Jason Ross 2011년 10월 7일
An addendum to the previous entry: programs that perform "administrative" actions will require elevation. As already mentioned, this might include changing the system PATH. Other actions would be registering DLLs, installing a service, writing to the system directory, editing certain parts of the Registry and so on.

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

추가 답변 (0개)

카테고리

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

태그

질문:

2011년 10월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by