Compartilhar via


Running Setup on the Command Line

You can run Dynamics NAV Setup at a command prompt. On the Dynamics NAV installation media, Setup.exe is in the root directory.

After installation, the typical location for Setup.exe on the target computer is:

C:\Program Files (x86)\Common Files\Microsoft Dynamics NAV\<Version number>\Setup  

where <Version number> is 90 for Microsoft Dynamics NAV 2016 and 100 for Microsoft Dynamics NAV 2017.

You can use the following options with Setup.exe.

Setup option Description
/config <Setup config file> Specifies path and file name information for a Dynamics NAV Setup configuration file to load.

This is the only required option.
/help Displays Help about Setup.exe options.
/log <log path> Specifies path and file name information for a Setup log file to be created by Setup. The file must not exist before you run Setup.
/quiet Specifies that Setup does not display anything on the screen. All configuration information is taken from the specified configuration file.
/repair Repairs the current installation of Dynamics NAV.
/uninstall Removes the current installation Dynamics NAV.

See Also

Working with Microsoft Dynamics NAV Setup
How to: Create or Load a Setup Configuration File
Editing a Setup Configuration File