MATLAB standalone app installation without administrator
Afficher commentaires plus anciens
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 commentaires
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
le 28 Août 2024
Saurabh
le 28 Août 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.
Réponses (1)
Taylor
le 29 Août 2024
0 votes
If you install the runtime without admin rights you shouldn't need admin rights to run your executable
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!