locked
Automate deployment process in MS CRM 2011 RRS feed

  • Question

  • How to Automate deployment process to move Customizations between environments in MS CRM 2011. Can we use SDK web services and any command line utilities to develop a deployment package as we do for .Net Web Applications.
    Wednesday, May 23, 2012 1:37 PM

Answers

  • CRM5Developer80,

    There is a new tool that is coming with the new UR8. It's called Solution Packager. The tool takes an unmanaged solution zip file and it will extract all the content to a nicely structured directories (see below). You can then add this to your source control.

    It also does the "Packing" as well. So given a particular directory structure, it will create a solution zip file that you can deploy to any CRM environment.

    For automating the deployment, you can use the DeploymentWebService. It's pretty straight forward. 

    http://msdn.microsoft.com/en-us/library/gg327886.aspx

    You can read more about it here. http://www.axonom.com/blog/?p=396

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.


    Dimaz Pramudya | CSG (Melbourne) | http://www.xrmbits.com | dimaz@xrmbits.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Monday, June 4, 2012 11:42 PM

All replies

  • Check out this thread: http://social.microsoft.com/Forums/en/crm/thread/46303f41-e5cc-4bed-8c72-bf3fadcbdf95

    It contains a some good potential solutions.


    Jason Lattimer

    Wednesday, May 30, 2012 5:58 PM
    Moderator
  • As I understand it from discussions at Convergence, the team at MS who built the Activity Feed managed solution ran into this and ended up creating some command-line tools/utilities that facilitate team development, including much better granularity of source control capability, (breaking up the solution zip files into individually source-controlled items) and automated build/deployment utilities for promoting solutions.

    I believe some of these utilities should start trickling out over the next few CRM updates.

    Monday, June 4, 2012 6:11 PM
  • CRM5Developer80,

    There is a new tool that is coming with the new UR8. It's called Solution Packager. The tool takes an unmanaged solution zip file and it will extract all the content to a nicely structured directories (see below). You can then add this to your source control.

    It also does the "Packing" as well. So given a particular directory structure, it will create a solution zip file that you can deploy to any CRM environment.

    For automating the deployment, you can use the DeploymentWebService. It's pretty straight forward. 

    http://msdn.microsoft.com/en-us/library/gg327886.aspx

    You can read more about it here. http://www.axonom.com/blog/?p=396

    I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.


    Dimaz Pramudya | CSG (Melbourne) | http://www.xrmbits.com | dimaz@xrmbits.com If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Monday, June 4, 2012 11:42 PM