Sample XML configuration file that installs only the WebApplicationServer role

The following example installs only the WebApplicationServer role on the local computer. The configuration database already exists.

<CRMSetup>
 <Server>
<Patch update="true">\\server\share\patchfile.msp</Patch>
<LicenseKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</LicenseKey>
<SqlServer>SQLServer</SqlServer>
<database create="false" />
<WebsiteUrl create="true" />
<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

Concepts

Install Microsoft Dynamics CRM Server 2011 roles
Install Microsoft Dynamics CRM Reporting Extensions (2)

Send comments about this article to Microsoft.

© 2013 Microsoft Corporation. All rights reserved.