locked
Automate Plugin registration RRS feed

Answers

  • That makes good sense, it sounds interesting to me. 

    You may check plug-in registration tool, it has all source code included. 

    For what you want to achieve, it's not something trivial as I have said, but it's not something terribly hard either.

    You may try the import approach, the way it works is, you export all the plug-in registration information to an XML file, then write the code to import xml along with the plug-in assembly, which would be a lot easier than dealing with each image and each step, etc. 

    To achieve this, you may look into plug-in registration tool's ImportExport.cs file as the starting point. 

    Again, it requires quite some effort. You may want to find someone to help you if you cannot afford time to look into the details. 

    Hope this helps. 

    Cheers,


    Daniel Cai | http://danielcai.blogspot.com
    Thursday, April 15, 2010 7:50 PM

All replies

  • Any help, please

    Thursday, April 15, 2010 5:12 PM
  • Creating automated plug-in registration program requires quite some effort and very good understanding of all the aspects with regard to the CRM plug-in model, including messages, pipelines, synchronous/asynchronous mode, etc. It's not something trivial. What's the reason that you cannot use the handyplug-in registration tool to do manual registration? Are you trying to create commercial solution for CRM that automated registration needs to be part of your setup process?

    With plug-in registration tool, you can export registration to xml file, so that you can easily transfer the registration from one environment to another. I don't see much need to create automated registration tool if you are working on in-house solution.


    Daniel Cai | http://danielcai.blogspot.com
    Thursday, April 15, 2010 5:21 PM
  • Hi Daniel,

    Thanks for getting back to me.

    We have been deploying plugins through the registartion tool since 1 year..I guess..and it works very well.

    Now, we are moving from manual deployment to automated deployment using AntHill..so there is a need to remove manual intervention. Hence this request.

    If you have any examples..or links for beginners to automating the process..it would be GREAT! Thanks, again

    Thursday, April 15, 2010 6:12 PM
  • Can anyone clarify my inital question of which one should be referred to: The code in the Sdk\Server\FullSample\PluginInstaller\CS\Installer.cs is different from the one in http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/7b9f2092-80cf-4ed9-b2a4-ae4821385caa/#0d9b6ca6-3f00-47aa-9a8b-1014ef9e4907

     

     

    Thursday, April 15, 2010 7:38 PM
  • That makes good sense, it sounds interesting to me. 

    You may check plug-in registration tool, it has all source code included. 

    For what you want to achieve, it's not something trivial as I have said, but it's not something terribly hard either.

    You may try the import approach, the way it works is, you export all the plug-in registration information to an XML file, then write the code to import xml along with the plug-in assembly, which would be a lot easier than dealing with each image and each step, etc. 

    To achieve this, you may look into plug-in registration tool's ImportExport.cs file as the starting point. 

    Again, it requires quite some effort. You may want to find someone to help you if you cannot afford time to look into the details. 

    Hope this helps. 

    Cheers,


    Daniel Cai | http://danielcai.blogspot.com
    Thursday, April 15, 2010 7:50 PM
  • I will try to take over from here..thanks a lot.
    Thursday, April 15, 2010 7:56 PM