Standalone App will not install without internet
6 views (last 30 days)
Show older comments
I am trying to run the installer for a standalone app that was compiled with the option to download runtime engine from web. However what I would like to do is have the runtime engine installed on the target computer in advance. This computer is not connected to the internet. When I try to run the app installer on this computer, I get an error since the computer is not connected to the internet. It does not even try to check if the runtime engine is already installed on the computer.
I don't want to compile the installer that contains the runtime engine, since that is a very large file and takes a long time to compile each time. Is there a way to configure the app installer so that
1) I don't need to include the entire runtime engine with it
2) The target computer does not need to be connected to the internet during installation?
1 Comment
dpb
on 2 Aug 2024
I've had no trouble doing that with the AppDesigner "Share" path to build a standalone application.
The caveat is that the version which you are using to build MUST be version-compatible to the version you have installed on the target machine and that it (the runtime) is installed where the app installer will find it.
Answers (1)
Image Analyst
on 2 Aug 2024
"that was compiled with the option to download runtime engine from web" <== well, don't use that option. Just compile your app and then distribute its installer and the MATLAB runtime installer separately. The run time installers can be gotten here:
However, I think it if you installed the runtime library first, then even with that option it should recognize that it's already installed and not try to connect to the internet. But the best option is to just not have it automatically download and install the library as part of your app's installer.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!