Unable to create installer deployment project for EPDM class library

I have created a simply class library to serve as a wrapper for a small set of EPDM API functions.  On my development machine, the library seems to register and run as a COM reference in SolidWorks and Excel macro editors. But when I try to package this class library up with a deployment project, I immediately get the following error:

---------------------------
Microsoft Visual Studio
---------------------------
The following files may have dependencies that cannot be determined automatically.

Please confirm that all dependencies have been added to the project.

c:\\progra~1\\solidw~2\\edmint~1.dll

---------------------------
OK   Help  
---------------------------

It will build, but not deploy on any new client machine.  I get the following error when I try to deploy: (run the msi or setup.exe)

---------------------------------

EPDMWrapperSetup

---------------------------------

Module C:\\Program Files (x86)\\Microsoft\\EPDMWrapperSetup\\EDMINT~.DLL failed to

register.  HRESULT -2147024770.  Contact your support personnel.

---------------------------------

Exit Installaion     Try Again     Continue

If I try to continue, upon referencing the new EPDMWrapper class, I simply get an error: Error in .DLL

Does anyone know if there is a known problem deploying class libraries that contain references to edminterface.dll?  Anyone who solves this should get at least 100 points.

Kent

SolidworksSolidworks Pdm enterprise Pdm
Answers 2
LY
LY 2010-10-27 Best Answer

Do you have Interop.EdmLib.dll included? If so, you should be able to exlude EDMINT~1.DLL from the deployment project.

SF
SF 2012-05-01

Kent,

I'm having the same issue. I have the Interop.EdmLib.dll Copy Local set to true and have excluded the EdmInterface.dll from my setup project but get the same message. Did you ever find a solution to this problem?

Thanks,

David