Use the command prompt to install Microsoft Dynamics CRM Server

 

Applies To: Dynamics CRM 2015

You can install Microsoft Dynamics CRM Server, Microsoft Dynamics CRM Reporting Extensions, and Microsoft Dynamics CRM for Outlook from their respective installation disks or file download location by using the command prompt. The required setup information is provided to the Setup program both as command-line parameters and as an XML configuration file that the Setup program references.

One advantage of using the command prompt to install Microsoft Dynamics CRM is that you don’t have to attend to the installation. Attended installation requires you to make decisions and provide information so that installation can run successfully. Unattended installation, by using the command prompt, requires you to provide the installation information as command-line parameters and an XML configuration file. No other action is required until the Setup program is finished. Warnings and installation progress can be logged to a file that you can view and analyze later.

Tip

To help troubleshoot invalid XML error messages, open the XML configuration file by using Internet Explorer to help indicate where the problem occurs in the file.

General procedures

The general procedures for running the Setup program at a command prompt are described here. For more detailed instructions, see the In This Section topics. The prerequisites for each of the Microsoft Dynamics CRM system features as discussed in previous sections also apply.

To run the Setup program from a command prompt, follow these steps:

  1. Provide a customized Setup configuration file. Examples are in the topics that follow.

  2. Log on to the computer as a member of the Domain Users Active Directory directory service group and Administrators group on the local computer. If you’re installing Microsoft Dynamics CRM Server using the Full Server role, the user running Setup must be a member of the local administrators group on the computer that has Microsoft SQL Server installed, and permissions on the organizational unit to create or modify Active Directory groups in the domain where Microsoft Dynamics CRM Server is installed. If you’re using pre-created groups, you must have read and write permission to each group.

  3. If you’re installing from an installation disk, insert the Microsoft Dynamics CRM Server or the Microsoft Dynamics CRM for Outlook installation disk into the CD/DVD drive. The Autorun screen appears. Close the Autorun screen.

  4. Open a Command Prompt window.

  5. At the command prompt, change to the CD/DVD drive or change to the location where the Microsoft Dynamics CRM installation files are located:

    • SetupServer.exe for Microsoft Dynamics CRM Server is located in the Server folder of the Microsoft Dynamics CRM Server installation disk or file download location.

    • SetupSrsDataConnector.exe for the Microsoft Dynamics CRM Reporting Extensions is located in the \SrsDataConnector folder on the Microsoft Dynamics CRM Server installation disk or file download location.

    • Setupclient.exe for Dynamics CRM for Outlook is located in the Client folder of the Dynamics CRM for Outlook installation disk or file download location.

  6. Run the Setup command using the following syntax.

    SetupServer.exe /Q /config c:\CRMSetupconfig.xml

In This Section

Install Microsoft Dynamics CRM Server by using a command prompt

Microsoft Dynamics CRM Server XML configuration file

Install Microsoft Dynamics CRM Server roles using the command prompt

Install Microsoft Dynamics CRM Reporting Extensions using a command prompt

See Also

Install Microsoft Dynamics CRM for Outlook using a command prompt
Install Microsoft Dynamics CRM Email Router using a command prompt
Installing on-premises CRM 2015
Post-installation and configuration guidelines for Microsoft Dynamics CRM

© 2016 Microsoft Corporation. All rights reserved. Copyright