AXUpdate command line parameters reference
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
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 AXUpdate.exe, by default it runs the Update Setup Wizard. This wizard has a graphical user interface (GUI) that prompts you for required information. You can also run AXUpdate.exe at a command prompt, in silent mode. When AXUpdate.exe runs in silent mode, there is no GUI. Instead, you must supply all the required information at the command prompt when you start AXUpdate.exe.
The following command-line parameters can be used to install updates.
Parameter |
Description |
---|---|
AcceptLicenseTerms |
Specify whether you accept the terms of the license agreement.
If the HideUI parameter is set to 0, the License terms page is displayed, regardless of the setting of AcceptLicenseTerms. If HideUI is set to 1, AcceptLicenseTerms must be set to 1. If AcceptLicenseTerms is set to 0, you receive an error message, and the installation stops. |
AosInstanceName |
Specify the name of the instance of Application Object Server (AOS) to update. To update multiple AOS instances, enter a semicolon-delimited list. If this parameter is not included, all AOS instances are updated. |
AosStart |
Specify whether the AOS instances are restarted after the update is applied.
|
HideUI |
Specify whether the UI for the installer is displayed.
If HideUI is set to 1, the AcceptLicenseTerms parameter must be set to 1. Otherwise, you receive an error message, and the installation stops. |
InstallAos |
Specify whether updates for the AOS instances are installed.
If the AosInstanceName parameter is not included, all AOS instances are updated. |
InstallClientOBA |
Specify whether updates for the Microsoft Dynamics AX client and the Microsoft Office Add-ins are installed.
|
InstallComponents |
Specify whether updates for all other components are installed.
|
InstallHelpServer |
Specify whether updates for Help Server are installed.
|
InstallModelDatabase |
Specify whether updates for the model store database are installed.
|
InstallSetupSupport |
Specify whether updates for Setup Support are installed.
|
InstallTraceParser |
Specify whether updates for Trace Parser are installed.
|
LogDir |
Specify where the log files for AXUpdate.exe are saved. By default, the following path is used: %ALLUSERSPROFILE%\Microsoft\Dynamics AX\Dynamics AX Setup Logs\ Note When log files are saved to the default location, they are arranged in dated folders to protect existing log files from being overwritten. If you override the default value for LogDir, the logs are saved to the exact folder that you specify. Any log files that are already located in that folder are overwritten. The path can be fully qualified, or it can be relative to the location of the AXUpdate.exe file. Relative paths can include upward qualifiers, such as "..\..\". |
ModelDatabaseInstanceName |
Specify the name of the model store database to update. To update multiple model store databases, enter a semicolon-delimited list. If this parameter is not included, all model store databases from the server configurations for the local AOS instances are updated. |