Installation Guide for Windows | ![]() ![]() |
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 MathWorks Installer noninteractively. The initialization file provides the installer with the information that you would otherwise provide using installer dialog boxes. Noninteractive installs (also called silent installs) can save time and prevent errors.
To run the installer noninteractively, perform these steps:
Create your installer initialization file.
The MathWorks provides an initialization file template, named installer.ini, located in the top-level folder on the MathWorks CD. Using Windows Explorer, create a copy of this template file in any convenient folder, giving it any name you want. For example, you might create the initialization file
C:\temp\my_install.ini
Open your copy of the initialization file, using any text editor, and enter all the required installation information. The initialization file template includes parameters for all the information you need to enter. For example, to specify where you want to install products, set the value of the destination parameter to the full path of the installation folder.
destination=C:\Program Files\MATLAB\R2006b
There are several required parameters, such as name, company name, and PLP. If your initialization file is missing a required field, the installer stops the installation and writes an error to the output log. Two optional parameters you might want to set are visible and outlog.
Controlling visibility — By default, when you run the installer in silent mode, it still displays the dialog boxes as it progresses through the installation, even though no interactive response is required. If you want to suppress the display of these dialog boxes during a silent installation, set the value of the visible parameter to false.
Requesting an output log — To request that the installer create an output file that reports on the status of the installation, specify the full pathname as the value of the outlog parameter.
Run the installer (setup.exe), using the -if flag to specify the initialization file as a command-line argument. You must specify the full pathname of the initialization file. For example, click the Start menu and select the Run option. In the Run dialog box, enter
setup.exe -if C:\temp\my_install.ini
![]() | Configuring Redundant License Servers | Removing (Uninstalling) an Installation | ![]() |
© 1984-2006 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments