I have been reading through everybody else's questions about why their addin won't load and I've tried everything I've come across but my Word 2003 addin will not load on anyone's computer but mine.
These are the things I have done so far:
- I used the VSTO project template for Word 2003 to create the addin project.
- I added the SetSecurity project.
- I included output from both SetSecurity and my addin project to the setup.
- I installed the interop assemblies for Office 2003 on the target machine. (.Net Framework 2.0 was already installed.)
- I installed the VSTO SE runtime.
- In stalled my addin.
No addin appears when Word is run. I did some more digging and discovered that the LoadBehavior value in the registry had to be set to 3. I checked out the registry for my addin and it was set to 2. Even if I manually change it to 3, Word still fails to load the addin and sets the value back to 2.
One of the posts I read suggested that it might be a security problem so I tried running CasPol to give my addin's directory full trust, manually changed the registry entry for LoadBehavior to 3 and ran Word. Still no addin and the registry entry was silently set back to 2.
I'm running out of ideas. I've spent almost as much time trying to get the addin to run on a system other than my own as I spent writing the darn thing in the first place. The VSTO documentation hasn't helped me at all. In fact, many of the topics are circular in nature, each referring to another topic that eventually leads me right back to the first. Isn't there some way to diagnose why Word won't run an addin