silent install of compiled application

4 次查看(过去 30 天)
Hello,
I found many instructions on how to install Matlab runtime in silent mode.
But how is it possible to make a silent install of a program whoch was written and compiled in matlab? (assuming the runtime is already installed).

回答(1 个)

Sanjana Ramakrishnan
编辑:Sanjana Ramakrishnan 2017-1-9
It is possible to install a program written and compiled in MATLAB in silent mode by specifying the -mode option and -agreeToLicense yes on the command line as below:
setup -mode silent -agreeToLicense yes
For example, if you have a standalone application that you want to execute in silent mode, do the following:
1.Navigate to the for_redistribution folder of the compiled application where you would find the installer 'MyAppInstaller_web' in operating system command line.
2.Execute the below command in command line:
MyAppInstaller_web.exe -mode silent -agreeToLicense yes
Refer the below link for more information:
https://www.mathworks.com/help/compiler_sdk/cxx/install-the-matlab-runtime.html

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by