Here is my workaround:
- Install the Matlab-Runtime to a system where you have Administrator Rights (which you hopefully do have somewhere)
- Copy the Matlab-Runtime Folder (e.g. 2022b) to e.g. C:\DevData\MyLocalApp\2022b
- Copy your compiled exe file (and all the other files you need) to c:\DevData\MyLocalApp\2022b\runtime\win64
- Write a script file e.g. C:\DevData\MyLocalApp\CallMe.bat which calls your exe (e.g. .\2022b\runtime\win64\myApp.exe) and passes necessary command line arguments on (if any)
Now you can redistribute the complete folder C:\DevData\MyLocalApp to the other system, without installing the matlab runtime, and run your application by calling the CallMe.bat file.
In cases where you don't want to redistribute the complete Matlab Runtime, but only the part that you need for your application, please follow the instructions by Kevin to include the runtime (installer!!!) with your own app installer. Then just copy this smaller runtime instead of the complete one.