Installation Guide for Windows Previous page   Next Page

Running the Uninstaller Noninteractively

You can run the uninstaller noninteractively. In this mode, you create an uninstaller initialization file, specifying the root folder of the installation you want to remove and the products you want to remove.

To run the uninstaller noninteractively, perform these steps:

  1. Create an uninstaller initialization file.
  1. The MathWorks provides a template for this file, named uninstaller.ini, located in the uninstall folder in your MATLAB installation folder. Make a copy of this template file, giving it any name you want.

  1. Open your copy of the initialization file, using any text editor, and enter all the required information. For example, use the directory parameter to specify the name of the root folder of the installation you want to remove.
  1. In this initialization file, you can specify the name of the products you want to remove and other parameters. By default, the uninstaller removes all products. If your initialization file is missing a required parameter, the uninstaller stops and writes an error to the output log. Two optional parameters you might want to set are

  1. Save your changes to the file.
  2. Run the uninstaller (uninstall.exe), using the -if flag to specify the initialization file as a command-line argument.
  1. For example, click the Start button and select the Run option. In the Run dialog box, enter the uninstall command, specifying the full pathname of the initialization file as a command-line argument.

Removing Installations That Use Dongles

In some installations, MATLAB requires a dongle. A dongle is a hardware-based security device that attaches to the USB port on your computer. It uses embedded codes and passwords to control access to software applications.

If your system uses dongles, the uninstaller asks if you want to delete the dongle drivers. If other applications you run on your system use dongles, do not delete these drivers. For more information, see Troubleshooting an Installation That Uses Dongles.


Previous page  Removing (Uninstalling) an Installation Troubleshooting Next page