Sunday, June 23, 2013

Installing MS CRM 2011 on Windows Server 2012

I am in the process to installing MS CRM 2011 on Windows server 2012. And I found it was slightly different what it was on Windows server 2008.

First of all you need to ready AD environment as we did in windows server 2008.
Secondly installing SQL Server 2008/2012 as desired.  I am using SQL Server 2008 Datacenter x64 R2.


Before you start you must enable following Roles and Features on Windows server 2012.

File and Storage Services.
Web Server (IIS).
.Net Framework 3.5 and 4.5 Features.

Now we are all set to start our install process. Even I clicked on Setup.exe for CRM 2011 but after some time it was like a background activity. And nothing was happening. And you will wait to happen anything but it remains same for ideal time. You can crosscheck at background what happening there. See below image.

 


After that I went to many forums but there was no solution. Then I found the solution from my CRM Lab practicing team. But still it had some issue. After doing slight change it worked. Following is the process.  

First of all create a temp folder. Like C:\crm_temp_install

Secondly download the latest MS CRM 2011 setup from Microsoft Download Site. When I click on this on Windows Server 2012 my browser IE 10 was not properly working when I click to download. It says Thank message for download. Instead start download. I workaround this compatibility mode of browser to 9/8 or you can download at you download at your client machine and then copy to server.

Copy this installation package to created temporary folder on server(2012) C:\crm_temp_install.

To complete CRM installation on Windows Server 2012 SHS(Self-Healing Setup) update is required and can be downloaded at Microsoft Update Catalog. Once you open this link it will ask you to enable Microsoft Add on enable them. Then 3 files as following picture will come.

Select “Setup update for Microsoft Dynamic CRM Server 2011” and click add and go to view basked and download.

Once download is completed. This SHS will contain all the  languages so you need to select the one that will be base language of you CRM Installation. I took 1033 for English.

After extracting cab file inside the folder you will fine .msp package copy this to your temp folder (C:\crm_temp_install).

The final step is create setup config file I named it config.xml.

<CRMSetup>
<Server>
<Patch update="true"> C:\crm_temp_install\Server_KB2434455_amd64_1033.msp</Patch>
</Server>
</CRMSetup>


Now you have everything to install.

Go to command prompt change the directory to C:\crm_temp_install. Extract the file for .exe (CRM setup file) Using /extract in last. It will ask a folder create a folder e.g. “CRM”. Once extraction completes it will show complete message.

Change the directory to “CRM” folder and type following command.

SetupServer.exe /config  C:\crm_temp_install\config.xml. And press enter.

The checking for update step should show “Setup has finished downloading the update”. This message confirms that the setup has picked the SHS correctly from the config file.


Follow the rest steps of installation. And you are ready to use MS CRM  2011 on Windows server 2012.