Installation Guide for Windows Previous page   Next Page

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 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.

Using an Installer Initialization File

To run the installer noninteractively, perform these steps:

  1. Create your installer initialization file.
  1. 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

  1. 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.
  1. 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. The following describes several optional parameters that you might want to set.

  1. Save your changes to the file.
  2. 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

Previous page  Configuring Redundant License Servers Removing (Uninstalling) an Installation Next page