Standalone App will not install without internet

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

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2024-8-2
"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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by