Sunday, 29 June 2014

CRM 2011/2013 Register Assembly for Offline Plugin (for Outlook) using .bat file

In this link:

We know that to make the plugin assembly we should register the plugin key in the AllowList reg key:

Add an AllowList key
  1. Run the registry editor by selecting Start, then select Run and type regedit.exe.
  2. In the tree view pane, navigate to the AllowList key. The complete path of the key is HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList.
  3. Select the AllowList key and right click to display the context menu.
  4. Select New then click Key to create a new sub-key.
  5. Paste the public key token value into the name of the new sub-key.
  6. Close the registry editor.
Now, imagine that you should register more than 5 plugin key to the AllowList registry key to more than 10 PCs.

To make it easier and faster, you can create .bat file and just let the user to run it.
This is the format of the key:

Regedit Plugin Offline

“REG ADD HKYE_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList\[publickey] /F”

Hope it helps!

No comments:

Post a Comment

My Name is..