MATLAB Installation Guide for Windows |
Running the Installer Noninteractively
If you have many MATLAB installations to perform, and the information you need to enter for each installation is the same, you can put this information in an installer initialization file and run the installer non-interactively. In this mode, the installer still displays the dialog boxes that query you for information but you do not have to enter data in response. The initialization file provides the installer with the information. Noninteractive installs (also called silent installs) can save time and prevent errors.
The following sections describe how to use an installer initialization file and how to verify this type of installation.
Using an Installer Initialization File
To run the installer noninteractively, perform these steps:
installer.ini
, located in the top-level directory on The MathWorks
product CD. Copy this template file, giving it any name you want. For
example, open an MS-DOS command prompt window and enter this
command, where Z:
is the drive letter for your CD-ROM drive:
The initialization file template includes all the parameters you can enter, with examples.
setup.exe
), using the -if
flag to specify the initialization file as a command-line argument. For example, at the MS-DOS command prompt, enter
Verifying a Noninteractive Installation
To verify a noninteractive installation, you may want the installer to create an output log that lists the products that were installed and reports any error that may have occurred. To create this log, specify the path of the file in the installer initialization file as the value of the outlog
parameter. For example:
# SPECIFY OUTPUT LOG NAME; Optional # This file records the results of the installation. # For example: output=myinstalllog.out outlog=C:\temp\my_install.out
Installing MATLAB Help Files in a Separate Directory | License Management |