Skip to content

Install CRM 2011 on Windows Server 2012 R2

I was to prepare a Dynamics CRM 2011 virtual machine, and I had at my disposal a a fresh VM having Windows Server 2012 R2 and all the basic per-requisites installed. Doing a quick check on MSDN revealed that Windows Server 2012 R2 was not on the supported list of operating systems for Dynamics CRM 2011; atleast not unless you’ve Update Rollup 13. I had no other VM readily available, so I thought of giving it a shot. However, I encountered some issues. Here’s how I solved them and finally got my job done. This article explains how to install CRM 2011 on Windows Server 2012 R2, exactly as I had followed.

The Problem

Initially, I just tried running the setup thinking it would probably install without any hassle. However, I was wrong! The setup started without any error messages. It showed a list of things to download and install, like .NET framework and some other stuff. After it went to the next step, the setup wizard disappeared! Task manager showed the CRM Setup process was running, but the setup window was nowhere! After some digging, I found that simply running the stock setup downloaded from Microsoft won’t work on Server 2012 R2. There was something else that needed to be done.

Install CRM 2011 on Windows Server 2012 R2 – The Solution

Now to the solution! It so happens that the stock setup of Dynamics CRM 2011 comes with Update Rollup 6. However, Windows Server 2012 (and I believe 2012 R2 as well) is officially supported from Update Rollup 13 onwards. So when you try to run the stock setup in an unsupported environment, it fails. What we would be doing here is telling the CRM Setup to use a .msp patch file as the update instead of searching it from the internet. This is because although you’d have internet enabled and ask the Setup for check for updates, it would only check if the setup has Update Rollup 6. Hence it would tell you that there are no updates, whereas internally it would fail. This is where we need to use the “Self Healing Setup” (the .msp files) for it to work.

You’ll be needing both the stock setup as well as the Self Healing Setup files. The Dynamics CRM 2011 Server Setup can be downloaded from here. The Self Healing Setup files can be downloaded from this location. Beware, you need to open up the Microsoft Update Catalog site from IE, else it keeps saying IE 6.0+ is supported. Also it’ll ask you to install the Microsoft Catalog, just go ahead with it. Once done, you should see 3 download links, one for Server, Reporting Extensions and Email Router.

Install CRM 2011 on Windows Server 2012 R2 - Image 01
Install CRM 2011 on Windows Server 2012 R2 – Image 01

Just “Add” to the basket the setups you need and click on the basket to download. The files are pretty large, since Microsoft has bundled the corresponding files for every supported language in this single setup. You can either download the files and locate your own language file; or you can save some time (and bandwidth of course) by downloading the ones for English (1033 language code) from the following links (local to my blog, don’t worry they are clean):

Once you’re done, it’s time to carry out the installation. At this time you should have the following setup files:

We are going to carry out configuration based command line installations. So we will be needing configuration files (just xml files).

This is the configuration file we would be using for installing CRM 2011 Server:

And this is the one for the Reporting Extensions:

Finally, the one for Email Router (in case you’re installing it):

Extract the Dynamics CRM 2011 Server Setup (downloaded from the Microsoft website) by using the following command:

Change the path from “C:\CRMSetup” to wherever you want the extracted files to be in.

Install CRM 2011 on Windows Server 2012 R2 - Image 02
Install CRM 2011 on Windows Server 2012 R2 – Image 02

Once you get all the extracted files, create a config file for the Server named “config.xml” (with the contents provided above) in the folder where you have the extracted files. Next, extract the .cab file for the Server (the Self Healing Update patch) and you’ll get a file named “Server_KB2434455_amd64_1033.msp”; copy it to the same path and we’re ready to install the Server.

Install CRM 2011 on Windows Server 2012 R2 - Image 03
Install CRM 2011 on Windows Server 2012 R2 – Image 03

Use the following command:

The wizard that follows would be the same as for any CRM 2011 Server installation.

Install CRM 2011 on Windows Server 2012 R2 - Image 04
Install CRM 2011 on Windows Server 2012 R2 – Image 04

I’d not go into the details of installing it, since it’s the same for any other Server installation.

Once you’re done, you’ll need to do the same for the Reporting Services. Create a similar config file with the above mentioned contents, extract the .cab file for the Reporting Services and you’ll get a file named “Srs_KB2434455_amd64_1033.msp”. Copy the config file and the .msp file to the folder where you have the Reporting Services setup files and use the following command:

Install CRM 2011 on Windows Server 2012 R2 - Image 05
Install CRM 2011 on Windows Server 2012 R2 – Image 05

It should say that all updates have been downloaded and show up as follows.

Install CRM 2011 on Windows Server 2012 R2 - Image 06
Install CRM 2011 on Windows Server 2012 R2 – Image 06

If you’re installing the Email Router as well, you’ll need to follow a similar approach. You’ll need to extract the Email Router files similar to how you did for the Server. Next, create the config file, extract the .cab for the Email Router and have everything in one folder.

Install CRM 2011 on Windows Server 2012 R2 - Image 07
Install CRM 2011 on Windows Server 2012 R2 – Image 07

Execute the following command and you should see it progress similarly.

Install CRM 2011 on Windows Server 2012 R2 - Image 08

Install CRM 2011 on Windows Server 2012 R2 – Image 08

After you’re done installing everything, make sure you download at least Update Rollup 13 and apply it for all the components like Server, Reporting Services and Email Router (only if you’re using it). Once applied, CRM 2011 should be ready to rock and roll!

I hope this comes of assistance to someone. You might find similar articles across the internet, however I wanted to share the Self Healing Setup files (so it can save some time of yours) and my experience with Windows Server 2012 R2 (others are on Windows Server 2012).

Published inDynamics CRM 2011Tutorials Dynamics CRM 2011

Have something to add?

2 Comments

  1. Robert Robert

    Hey mate, this helped, thanks! I had been facing this exact same problem until I stumbled upon this blog and it helped me going ahead with the installation. Thanks again buddy.

    • Dynamotion Dynamotion

      Hello Robert,

      Glad that the article helped you! 🙂

      Cheers,
      Dynamotion

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading Facebook Comments ...
Loading Disqus Comments ...

No Trackbacks.