Export (0) Print
Expand All

Run Setup in silent mode [AX 2012]

Updated: February 1, 2013

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

When you run the Setup wizard, Setup is running in interactive mode. In other words, a graphical user interface (GUI) prompts you for the required information. Alternatively, you can run Setup in silent mode. When Setup runs in silent mode, no GUI is displayed. Instead, you supply the required information at the command prompt or in a parameter file. You can install any Microsoft Dynamics AX component in silent mode.

NoteNote

A silent installation is especially useful when you deploy multiple clients at the same time. For more information, see Mass deployment of the Microsoft Dynamics AX Windows client.

The same parameters are available whether you enter them at the command prompt or create a parameter file.

To determine which Microsoft Dynamics AX Setup parameters you want to use, we recommend that you review the example parameter file that is included on the Microsoft Dynamics AX DVD. The file is located at <Path to DVD or shared directory>\Support\ExampleParmFile.txt. For more information about individual parameters, see the Setup parameters reference on TechNet.

Microsoft Dynamics AX Setup can configure some required prerequisites, such as operating system features and roles and redistributable components that are on the Microsoft Dynamics AX installation media. If you want Setup to automatically configure these prerequisites, include the parameter ConfigurePrerequisites=1.

You can install other prerequisites silently by running the individual programs from the command line. To determine the command-line parameters that you want to use, we recommend that you run the stand-alone prerequisite validation utility on a representative client. When you use the utility to configure prerequisites, the log file indicates the commands that were used. By default, the log file is located at <Drive>\Users\<UserName>\AppData\Local\Microsoft Dynamics AX 6\Prerequisite Utility Logs\Date Time\Log.txt.

Use the following procedure to run the installation by entering parameters at the command prompt.

  1. Open a Command Prompt window.

  2. At the command prompt, type the following command:

    <Path to DVD or shared directory>\Setup.exe parameter1="value" parameter2="value"

    When you use multiple parameters, insert a single space between parameters.

    Caution noteCaution

    If you enter duplicate parameters, Setup fails silently.

  3. After you have listed all parameters, press ENTER.

Use the following procedure to run the installation by specifying a parameter file at the command prompt.

  1. Create a text file that lists the appropriate installation parameters and their values. In the parameter file, the Name=Value combination for each parameter must be on a separate line.

    Caution noteCaution

    If you enter duplicate parameters, Setup fails silently.

    Do not include double quotation marks in parameter files. Because the carriage return is used as a delimiter in a parameter file, values that usually require double quotation marks do not require them here.

    To prevent a line in a parameter file from being read, type a number sign (#) before the line. The line is now treated as a comment instead of a command or parameter.

  2. Open a Command Prompt window.

  3. At the command prompt, type the following command:

    <Path to DVD or shared directory>\Setup.exe ParmFile=<path of file\FileName.txt>

    The path can be fully qualified or relative to the location of the Setup.exe file. Relative paths can include upward qualifiers such as "..\..\".

  4. Press ENTER.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

Show:
© 2014 Microsoft