Install* MCR without Administrator rights

8 次查看(过去 30 天)
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
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 个评论
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 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by