To make fully unattended install package you need to do following steps:
Download install package: http://www.microsoft.com/en-us/download/details.aspx?id=45015
Extract package content:
Do not remove sub folders 1 and 2 from the path, because we need it later
Create Redist folder in c:\CRM_TEMP. Do not put it in the sub folders
- Create following sub folders in Redist folder:
- In each folder download CRM prerequisites
Also if you need optional offline capability create Microsoft SQL Express sub folders:
So the final directory tree should look like:
dotNETFX NDP452-KB2901907-x86-x64-AllOS-ENU.exe ReportViewer ReportViewer.msi SQLCE SSCERuntime_x64-ENU.exe SSCERuntime_x86-ENU.exe SQLNativeClient sqlncli_x64.msi sqlncli_x86.msi SQLSystemCLRTypes SQLSysClrTypes_x64.msi SQLSysClrTypes_x86.msi VCRedist vcredist_x64.exe vcredist_x86.exe VCRedist10 vcredist_x64.exe vcredist_x86.exe WindowsIdentityFoundation Windows6.1-KB974405-x64.msu Windows6.1-KB974405-x86.msu
This is the directory tree without offline capability prerequisites.
- Now we are ready to make test deployment with the following command:
C:\CRM_TEMP\1\2\SetupClient.exe /q /targetdir "C:\Program Files\Microsoft Dynamics CRM" /lv "C:\Users\Default\AppData\Local\Microsoft\MSCRM\Logs\SCCMcrmsetup.log"
There is also possibility to create MSI file for deployment, but it is a little bit buggy and not completely unattended. So if you even run the MSI file with /qn key it still starts SetupClient.exe without /q key which tries to show you a dialog to accept license.
You need to keep such sub folder structure, because SetupClient hardcoded to search prerequisites in ../../Redist folder.
From now you can deploy CRM Client with SCCM. Just add c:\CRM_TEMP (or folder where you’ve moved entire sub folder structure to) as source folder and install with
1\2\SetupClient.exe /q /targetdir "C:\Program Files\Microsoft Dynamics CRM" /lv "C:\Users\Default\AppData\Local\Microsoft\MSCRM\Logs\SCCMcrmsetup.log"
**UPD: **Silent installer may fail (or just hang without any activity) if selected log directory does not exist, so it is better to replace mentioned above command with:
1\2\SetupClient.exe /q /targetdir "C:\Program Files\Microsoft Dynamics CRM" /lv "%TEMP%\SCCMcrmsetup.log"