silent install of compiled application

17 views (last 30 days)
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).

Answers (1)

Sanjana Ramakrishnan
Sanjana Ramakrishnan on 9 Jan 2017
Edited: Sanjana Ramakrishnan on 9 Jan 2017
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

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!