Using MCRInstaller.exe on the Command Line

Running MCRInstaller.exe

When you want to run MCRInstaller.exe without any options or arguments you can use a GUI to install the MCR. This is the best technique for most applications.

For more powerful installation options, you can use the command line with the options described in the next table.

Frequently Used Options for MCRInstaller.exe

OptionTells InstallShield to...
/aPerform installation as an administrator. This option is useful if you want to uncompress the installation so you can extract the MSI install and repackage it with your options.

The /a option requires Windows® Administrator access.

/Ldecimal_language_IDSpecify the language (decimal_language_ID) to be used by a multi-language installation program.
/nRun without a GUI.
/qRun in quiet mode.
/sRun the installation in silent mode based on the responses contained in a default response file. There must be a space after /s.
/vPass command-line options and values of public properties to Msiexec.exe.

Make sure there is no space after /v. Also, note that you can use double quotation marks (" ") to delimit the arguments to /v, but you still cannot have a space between /v and the enclosing quotation marks.

/wWait until the installation is complete before exiting.

Examples: MCRInstaller.exe Command Line

For example, the following command:

MCRInstaller.exe /L1033 /s /v"/qn INSTALLDIR=D:\MCR\current_release"

tells InstallShield to:

The following command:

MCRInstaller.exe /v"/L*v \"C:\log.txt\""

causes the installer to create a verbose log of the install process in log.txt in C:.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS