22.07.2011, 16:11 | #1 |
Участник
|
Gareth Tucker: Installing CRM 2011 via Command Line and XML Config File
Источник: http://gtcrm.wordpress.com/2011/07/2...l-config-file/
============== Here’s the first place you need to look: http://technet.microsoft.com/en-us/l.../gg554834.aspx Have a read of the content there to get a feel for this process. BUT do not use the sample file provided, it has a few typos that will annoy the hell out of you, read on instead… My scenario:
Type a command line similar to the below: SetupServer.exe /QR /L C:\CRMTEMP\server_install_log.log /config C:\CRMTEMP\server_install_config.xml Place your config file in the folder specified, and make sure the name matches up. You can use either /QR or /Q. The “R” gives you visibility of progress and errors. When you run the above statement the command prompt will simply accept it and clear the prompt, leaving you wondering what went wrong: If you check Task Manager you should see Microsoft.Crm.Setup.Server.exe doing its thing: If you want more visibility of what’s going on drop the /QR from the command line. You will see each installation step, with the screens pre-populated based on the config file, but will need to click through each screen to nudge the process along. Handy for troubleshooting. If the installer fails check the log file, I found it clearly pointed out the environmental issues that I needed to address (like forgetting to create the OU and not having SQL full text search installed). Here’s my config file: MQM2H-JYYRB-RRD6J-8WBBC-CVBD3 VBOX1 Latin1_General_CI_AI Test Company TestCompany OU=CRM,DC=GTDOMAIN,DC=COM c:\Program Files\Microsoft Dynamics CRM GTDOMAIN\administrator pass@word1 GTDOMAIN\administrator pass@word1 GTDOMAIN\administrator pass@word1 GTDOMAIN\administrator pass@word1 PATCH – I have Patch update set to true, this will force the installer to check for an updated install files online. If you don’t have an internet connection either set this to false, or leave it on true but add a path to a local folder that contains the install updates. Check out these posts for more details on this: About the “Patch” option: http://technet.microsoft.com/en-us/l.../gg554688.aspx How to get an MSP file: http://support.microsoft.com/kb/2434455 AsyncServiceAccount – The Microsoft supplied sample found on technet has a typo here. mu option="true" – Again, Microsoft has another typo. IncomingExchangeServer – whether using Exchange or not make sure an actual server name is entered here (I entered the name of the server I was installing CRM on). If the installer can’t find the server the install won’t proceed. OU – I have manually created an Organizational Unit in the AD called “CRM” prior. Make sure your AD OU is created before you attempt the install: Everything else should be pretty obvious. In my scenario I am using a domain admin account on a single server environment (DC, CRM, SQL) so security was easy peasy. If your environment is a little more complex then you’ll need to have a read of this blog: http://blogs.msdn.com/b/darrenliu/ar...omponents.aspx That will get you started. There’s the email router, SRS data connector, rollup packs etc to do as well. Good luck! The config file is available for download here. Источник: http://gtcrm.wordpress.com/2011/07/2...l-config-file/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|