AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.07.2011, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
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:
  • Single server install (server name = VBOX1, domain name = GTDOMAIN)
  • I have already created an OU in the AD called “CRM” and will have the installer create the CRM AD groups in that folder
  • I have SQL installed and SSRS configured all good to go
  • I am just going to install the CRM 2011 Server
  • You will need either the CRM server installer (CRM2011-Server-ENU-amd64.exe) available here or the CRM install media.  If you have the CRM server installer run the exe to extract the install files.  If you have the install media then I think the install files are already extracted out.
To execute the actual install open a command prompt and navigate to the CRM installation folder that contains SetupServer.exe:

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
















Some notes on the config file…

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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
CRM DE LA CREME! CRM 4.0 Disaster Recovery Blog bot Dynamics CRM: Blogs 2 26.02.2016 08:23
Gareth Tucker: Getting Started with CRM 2011 Online Fetch XML Reporting Blog bot Dynamics CRM: Blogs 0 19.05.2011 23:13
Rahul Sharma: Microsoft Dynamics CRM 2011 Fetch XML based Custom Reports Blog bot Dynamics CRM: Blogs 0 15.04.2011 00:12
Microsoft Dynamics CRM Team Blog: Testing your Microsoft Dynamics CRM 2011 Apps Blog bot Dynamics CRM: Blogs 0 01.12.2010 03:14
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 01:59.