0

I have a com interop dll (zkemkeeper.dll) that i have to register and use, i wonder how can i deploy that to the SharePoint server using SharePoint package?

Stacker
  • 8,157
  • 18
  • 73
  • 135

3 Answers3

0

If you are using Sharepoint 2010, see How to: Add and Remove Additional Assemblies.

See also:

Community
  • 1
  • 1
Rich Bennema
  • 10,295
  • 4
  • 37
  • 58
  • sir im talking about a com interop assemly which needs to be registered by regsvr32 command, only copying the assembly wont register it – Stacker Apr 24 '12 at 00:37
0

You cannot deploy COM or COM Interop DLL to SP farm by SP solution. You need to install the component on every SP server in the farm by other means.

  1. Create an MSI installer to be executed on every machine. MSI can be rolled out automatically too.
  2. Provide a PowerShell script to be executed on every machine. PowerShell can be run remotely too.
  3. Deploy a timer job with your solution that would be executed after the installation automatically or manually and would write to the registry the necessary COM stuff.

The first two options are my favourite because they shouldn't cause technical problems at the customer. The third one appears to promise installation without visiting every machine but the Timer Service user identity would need permission to write to the local registry which may not always be granted; and you'd have to resort to 1. or 2. anyway.

You should think about switching over to ASP.NET or .NET components on the long term. There are many components available in pure .NET that can be deployed by SP solutions. You can also consider pure HTML/JavaScript controls. I would probably go for the option 1. and invest the saved time to other architecture without the COM Interop.

--- Ferda

Ferdinand Prantl
  • 5,281
  • 34
  • 35
-1

Interop.zkemkeeper.dll regsvr32 error or InitializeComponent

Then you need done the step following:

  1. Go to the website: http://www.zktechnology.com
  2. Download ->Software Download->ZK Access for C3 panels
  3. Extract files
  4. Install
  5. Open visual studio -> Solution Project->references-> Add Interop.zkemkeeper.dll

Good luck

Jack
  • 10,943
  • 13
  • 50
  • 65