With Dynamics CRM 2011 we can now deploy update rollups without updating the Organization databases, the advantages are:
By default it updates the database as you install an update rollup, to stop it from automatically update the databases, run the following powershell script:
Open PowerShell copy+paste the below commands; on the last line hit enter:
Add-PSSnapin Microsoft.Crm.PowerShell $setting = New-Object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity" $setting.LogicalName = "Deployment" $setting.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection" $attribute = New-Object "System.Collections.Generic.KeyValuePair[String, Object]" ("AutomaticallyInstallDatabaseUpdates", 0) $setting.Attributes.Add($attribute) Set-CrmAdvancedSetting -Entity $setting
Note: what the powershell script does, sets to 0 the database field AutomaticallyInstallDatabaseUpdates on the DeploymentProperties table of the MSCRM_CONFIG database.
Now if you Install the latest rollup; when you open deployment manager the column 'version' should still show the previous RU version for all organizations; to update the database for a specific organization right click the organization you want to update and click Update:
If you get the below error, stop the Asynchronous service and try again.
After you update the organization, you now have one organization with RU6 and other with RU10:
You ready for testing :)
Hope was helpful.
yottun8 edited Revision 1. Comment: Added "en-US" tag.
Hi, rollups are designed to update the database structure and file system libraries (dll's) or any other file that needs to be updated. Binaries could also be your own assemblies in the GAC or any custom solutions you may have that don't rely so much on the database. Hope this helps
Hi, rollups are designed to update the database structure and file system libraries (dll's) or any other file that needs to be updated. Binaries could be your own assemblies in the GAC or any custom solutions you may have that don't rely so much on the database. Hope this helps
Hi, Can you explain a bit more on the second point, test binaries before update the database? What's the difference between update rollup only and update rollup+database?