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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.07.2009, 08:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Which Database Hotfixes Did I Just Install?
Источник: http://blogs.msdn.com/crm/archive/20...t-install.aspx
==============

This article will cover how to answer:

  • Which database hotfixes are currently installed on your Microsoft Dynamics CRM Server?
  • Which database hotfixes will be installed or uninstalled with a particular hotfix or Update Rollup (UR)?
Background



Historically, database hotfixes have been considered an internal detail of Microsoft Dynamics CRM hotfixes, so there is currently no straightforward way for administrators to track exactly when particular database hotfixes are installed or uninstalled.  There has been an increased interest in being able to track this information.  This article is intended to describe a workaround for deriving this information until a more formal means is available, most likely in CRM 5.0 timeframe.

All database hotfixes are cumulative.  Each new database hotfix will include all previously released database hotfixes as dependencies.  If a particular dependent database hotfix is already installed on your Server, it will not be reinstalled.  If a particular database hotfix is a dependency of other currently installed hotfixes, uninstall of the dependent hotfix will be a no-op.  It will be uninstalled when all other hotfixes that are dependent on it are also uninstalled.

No database hotfixes are installed when Microsoft Dynamics CRM Server is installed using the “Update installation files (strongly recommended)” option.  No database hotfixes are installed when a new organization database is created.  You must re-install database hotfixes for the new organization.

How to Track Database Hotfixes

You will need to know the KB numbers of the fixes you have already installed.  You can find this information in Add/Remove Programs.  For all of our examples, we will suppose that you have already installed the following:

  • KB949069
  • KB956129
  • KB955482
Example 1

Before installing Update Rollup 4 (KB968176), you want to know which database hotfixes will be installed along with it.
    1. Download the UR 4 package and save it to your computer
    2. Extract the UR 4 package
      1. Click Start –> Command Prompt
      2. In the command prompt window type ‘\ CRMv4.0-KB968176-i386-Server-ENU.exe /X’, where is the location where you saved the UR 4 package and hit ENTER.
      3. In the “Choose Directory For Extracted Files” dialog enter the directory where you would like to save the extracted files; if it does not exist already, it will be created. Click OK.
    3. Find database hotfix install info in the extracted package
      1. In Windows Explorer, navigate to the directory where you saved the extracted files
      2. Open the language specific folder such as ‘EN’ for English
      3. Open the file dbhotfix_install.xml.  Do not modify this file, or any of the contents of the extracted package.
        UR 4’s dbhotfix_install.xml looks like this:








































Each entry is a database hotfix - for ease of reading, I have highlighted the ones installed in our example. 

  • The location attribute indicates the KB number
  • The version attribute indicates the build number
Your server’s current build number will be the greatest version of all the hotfixes you have previously installed.  So in our example, your current build number is 04.00.7333.1255.

When you install a new hotfix, any entry with a version greater than your current build number will also be installed.  Any entry with a version less than or equal to your current build number is already installed, and will not be installed again.  So in the case of our example:

  • What is currently installed?
    • Every entry up to and including 04.00.7333.1255 (KB949069).
  • What will be installed when you install UR 4?
    • Every entry greater than 04.00.7333.1255, so in this case the last three entries: KB959419, KB961768 and KB968176.
Example 2

You want to uninstall KB949069.
We will uninstall as far back as the next greatest version number.  So in our example, that means we will go back to 04.00.7333.1235 (KB955482).  So KB949069, KB960249, and KB956445 will be uninstalled.

Example 3

You want to uninstall KB955482.
If you uninstall a database hotfix that has a version less than your current build number, it will not actually be uninstalled until you uninstall all hotfixes with a greater version number.  So when you uninstall KB955482, it will not be uninstalled until you also uninstall KB949069.

Example 4

You want to install or uninstall a KB that is not listed in dbhotfix_install.xml
If you have a KB that is not listed in this file, this is because no new database hotfix was released with it.  You can still derive database hotfix tracking information by using the build number of that hotfix. You can find the build number in the KB article.

Thanks,
Leslie Zavisca



Источник: http://blogs.msdn.com/crm/archive/20...t-install.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: CRM Online: Reporting Options Blog bot Dynamics CRM: Blogs 0 18.06.2009 06:14
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 4.0 Bookshelf Blog bot Dynamics CRM: Blogs 1 22.01.2009 04:46
Microsoft Dynamics CRM Team Blog: Highlight: Available downloads for Microsoft Dynamics CRM Blog bot Dynamics CRM: Blogs 0 05.11.2008 22:05
Microsoft Dynamics CRM Team Blog: Top 14 Microsoft Dynamics CRM Sites and Downloads Blog bot Dynamics CRM: Blogs 0 14.07.2008 13:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:31.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.