Sample XML configuration file that installs only the WebApplicationServer and OrganizationWebService roles

 

Applies To: Dynamics CRM 2013

The following example installs only the Web Application Server and Organization Web Service server roles on the local computer. In order to use this configuration file the configuration database must already exist on the Microsoft SQL Server that is named SQLServer. The feature will be installed in the default IIS website. To specify a different website, use the <WebsiteUrl> element. For more information, see Microsoft Dynamics CRM 2013 Server XML configuration file.

Note

The Web Application Server requires the Organization Web Service. Therefore, even when you specify only the WebApplicationServer role name, the Organization Web Service (OrganizationWebService) will automatically be installed.

<CRMSetup>
<Server>
<Patch update="true">\\server\share\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<Database create="false" />
<InstallDir>c:\Program Files\Microsoft CRM</InstallDir>
<Roles>
   <Role name="WebApplicationServer"/>
</Roles>
<SQM optin="true" />
<MUoptin optin="true" />
<CrmServiceAccount type="DomainUser">
   <ServiceAccountLogin>contoso\user1</ServiceAccountLogin>
   <ServiceAccountPassword>password</ServiceAccountPassword>
</CrmServiceAccount>
</Server>
</CRMSetup>

Warning

Maintaining the configuration file that has <ServiceAccountLogin> and <ServiceAccountPassword> values specified is a security risk because you are storing a password in plain text. Delete these elements as soon as the configuration file is used to install Microsoft Dynamics CRM Server 2011.

See Also

Install Microsoft Dynamics CRM Server 2013 roles using the command prompt
Sample XML configuration file that installs only the HelpServer role