I apologise for posting this in here but the kind of work we're doing seems to fall between the cracks as regards the MSDN forums.
It's actually a kind of deployment issue but it's also a managed Word Add-In issue (and possibly an installshield issue but I'm not sure about that yet and I'd leave that for the IS forums).
We used to deploy a managed word addin (written in c#) along with it's COM shim via the VS2005 setup and deployment project. We've switched to IS12 and rebuilt the deployment and now we're missing something in the deployment.
The COM shim fails with an automation error when trying to instantiate the managed add-in via a createobject.
This is because during deployment the managed addin has not been registered for COM.
If I try to manually register the managed addin using regasm I get the following output:
RegAsm : error RA0000 : Could not load file or assembly 'Extensibility, Version= 7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
This suggests that the regasm in the install is failing becuase I'm not deploying something.
Now I'm deploying the following files along with the COM shim and the managed add-in:
- vb6ext.olb
- MSADDNDR.DLL (to the windows folder)
- Interop.VBIDE.dll
- Interop.Office.dll
- Interop.Word.dll
- asycfilt.dll
- comcat.dll
- msvbvm.dll
- msvcrt.dll
- oleaut32
- olepro.dll
- stdole2.tlb
I also install as pre-requisites the 3 parts of KB908002.
I guess what I'm asking is what am I missing given the return from Regasm What is this 'extensibility' component What physical file does this refer to.
We've hit a brick wall here and this has stopped a biggish release in it's tracks so we'd very much appreciate an answer if at all possible.
If you can think of a better place to post this then please feel free to redirect me!
Cheers in advance.