Topic: ‘AutoUpdate Feature’

 

Auto-Update Feature on Client Machine (Rollup 10)

Posted May 28th, 2010 / No Comments

How to get AutoUpdates to WORK!

If you have UAC turned on in your environment this will not work!! 

When UAC is enabled even a local administrator must manually run the client auto update process as an administrator for it to succeed appropriately.  If you have UAC installed the user will be prompted to install the update every time they launch outlook.

 First of all, the following keys are required in the client registry, so make sure they are present:

1. HKLM\Software\Microsoft\MSCRMClient\AutoUpdateDisabled (DWORD). Default value 0, which enables Microsoft Dynamics CRM Update. When you set this value to 0, Microsoft Dynamics CRM for Outlook will check for available updates. You can turn off periodic checks for updates by setting the value to 1. The settings do not bypass the check when the user manually checks for updates by clicking the menu option.

2. HKLM\Software\Microsoft\MSCRMClient\AutoUpdateCheckPeriod (DWORD). Default value 4. Enables the administrator to specify a period (in hours) between two background checks for updates. The valid values for this setting are between 4 and 24 hours.

3. HKLM\Software\Microsoft\MSCRMClient\AutoUpdateDownloadUrl (DWORD). <-THIS A STRING TYPE. Contains the URL, such as http://servername/updates/, from where the update will be downloaded.

 Your xml file needs to look like this:

<ClientPatches>
<Create>
<ClientPatchInfo>
<PatchId>{C853A15A-5546-4F07-BF41-FC1C64570AB3}</PatchId> ((Insert the current patchID you are trying to add)
<Title>Update Rollup 10</Title>
<Description>Update Rollup 10</Description>
<IsMandatory>true</IsMandatory>
<IsEnabled>true</IsEnabled>
<ClientType>OutlookDesktop,OutlookLaptop</ClientType>
<LinkId>CRMv4.0-KB979347-i386-Client-ENU.exe</LinkId>
</ClientPatchInfo>
</Create>
</ClientPatches>

 Place the config.xml file in the Tools folder under Program Files/Microsoft Dynamics CRM.

Place the rollup file in the updates folder and do not have any other items in that folder.  This may not matter this is just a step we went through to get it to work.

 Update MSCRM_Config db with patch info

  • Launch the command prompt and change directories to C:\Program Files\Microsoft Dynamics CRM\Tools
  • Run the following command microsoft.crm.tools.clientpatchconfigurator.exe clientconfig.xml

 These are the abbreviated steps.  You can find further detail at the following two links.

http://blogs.msdn.com/b/crm/archive/2009/05/29/troubleshooting-the-microsoft-dynamics-crm-client-for-outlook.aspx

http://blogs.msdn.com/b/crm/archive/2009/02/11/update-rollup-2-for-microsoft-dynamics-crm-4-0-more-info.aspx

Continue Reading