Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4121262
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:19:42+00:00 2026-05-20T23:19:42+00:00

I have a VSTO addin for Word. Developed with Visual Studio 2010 (for Word

  • 0

I have a VSTO addin for Word.

Developed with Visual Studio 2010 (for Word 2007 and 2010) and also VS 2008 (for Word 2003).

It installs and runs in many different combinations of Windows (XP, Vista and Windows 7) as well as Office versions (i.e. Office 2003, 2007, 2010).

Except for one: Word 2010 on Windows XP (SP3).

The symptoms are that when Words starts up it appears to load the add-in for a while but in the end doesn’t and the add-in appears in the Inactive Application Add-ins list.

There is code in the startup of the add-in that catches exceptions and reports on them, but that code never gets executed. So it seems that there is an exception somewhere before the add-in even starts executing.

That sounds something like an assembly not being found which makes me think maybe the Office 2010 PIA is not installed, but I tried installing that explicitly and it says it’s already there (which is what is supposed to be the case because Office 2010 is supposed to install it (unlike previous Office versions which didn’t install it)).

It would also be a symptom of something like the code not being trusted, but I have continued using the code trusting mechanism of caspol.exe, which seems OK with all the other mixtures of Office and Windows, so I’m guessing it’s OK with O 2010 and W XP.

And if it was one “my” assemblies that was missing, then it would be missing when the add-in is installed on other Windows versions, because it’s the same install regardless of OS.

I’m stymied.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:19:43+00:00Added an answer on May 20, 2026 at 11:19 pm

    After all, the answer is fairly simple:

    It seems that when you install Office 2010 on Vista and Windows 7, the Office 2007 Primary Interop Assemblies are installed automatically. And the Office 2007 PIAs are the ones that are used with VSTO and Office 2010.

    But: when you install Office 2010 on Windows XP (32 bit) (I haven’t tried XP x64), the PIAs are NOT installed automatically. Then, if you try to run the o2007.msi installer that you can get from Microsoft, it tells you that it won’t work unless Office 2007 is installed! Not very helpful.

    However, after I stumbled on this StackOverflow question, I discovered that, of course, all you need to do is install the actual DLLs for the PIAs that you want into the folder where your executable runs from, and there you are!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have existing VS 2008 VSTO add-ins for Word 2003 and Excel 2003. We
I have developed an Add In for Word 2003 in C# using VSTO 2005
Hello I have the Addin for Word 2007 that is creted using VSTO. I
We have written a VSTO addin for Outlook 2010/2007. At one point, our addin
I have created an VSTO Outlook addin. The configuration is as follows: Visual Studio
I have created an Excel 2007 add-in using Visual Studio 2008 and built-in project
I have written a few Excel 2003/2007 add-ins using VSTO, and I usually end
I have created an Outlook addin using VS2010 and VSTO 4.0. On Windows7+Outlook 2010,
I have a MS Office COM addin written in C# (Visual Studio 2005) and
I have an Excel VSTO AddIn that I moved up to Excel 2007/VS2010 last

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.