MATLAB standalone app installation without administrator
Mostrar comentarios más antiguos
Hi,
I am trying to make some MATLAB apps for people without MATLAB licenses at work. I compiled them as standalone apps with the runtime libraries included in the package so they don't have to be downloaded and installed separately. However, the app requires admin privileges to install. This isn't very pleasant since we have to request IT for each installation.
Is there a way to eliminate the need for administrator privileges? I tried moving the installation directory to the user directory instead of Program Files but that didn't help as well.
Thanks,
Abinav
3 comentarios
Hi Abhinav,
It seems to me that when you are sharing the standalone app with people without MATLAB licenses at work, then they require admin privileges to install. The same kind of problem is addressed here:
- https://www.mathworks.com/matlabcentral/answers/106150-why-am-i-being-prompted-for-administrator-authentication-when-starting-matlab
- https://www.mathworks.com/matlabcentral/answers/252549-when-are-admin-privileges-necessary-in-matlab
- https://www.mathworks.com/matlabcentral/answers/298445-always-run-as-administrator-attribute-on-matlab-compiled-executables
- https://www.mathworks.com/matlabcentral/answers/98923-why-does-the-matlab-installer-require-administrator-privileges
You can review this to see if it fixes the problem.
I Hope this was helpful
Abinav
el 28 de Ag. de 2024
Saurabh
el 28 de Ag. de 2024
Hi Abhinav,
I appreciate your response. That answers my doubts about your query. I've included an additional link to the original answer, which resolves around installation of MATLAB app. Feel free to check and see if this resolves the issue.
Respuestas (1)
Taylor
el 29 de Ag. de 2024
0 votos
If you install the runtime without admin rights you shouldn't need admin rights to run your executable
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!