To make fully unattended install package you need to do following steps:
1. Download install package: http://www.microsoft.com/en-us/download/details.aspx?id=45015
2.Extract package content:
Do not remove sub folders 1 and 2 from the path, because we need it later
3. Create Redist folder in c:\CRM_TEMP. Do not put it in the sub folders:
4. Create following sub folders in Redist folder:
5. 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:
This is the directory tree without offline capability prerequisites.
6. 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"