Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant deploy addin for Word 2007 on office 2010

Status
Not open for further replies.

nesplb

Programmer
Jul 29, 2003
109
NO
Hi!

I have a problem with my addin that works fine with Word 2007. (It's created for word 2007)
Now I'm trying to install it on a machine with office 2010.

I get the following error:
"A required component for interacting with word 2007 is not available".
I guess it's not finding the office 2007 PIA's. I have installed the 2010 PIA's though-and shouldn't that be sufficient?

When I try to install the office 2007 PIA's I only get the message:
"Please install office 2007 before installing this product"

What should I do?
I have tried not to reference the 2007 pia's in the setup package, but that didn't work.

Is the only option to rewrite the entire solution to .NET 4.0?

I hope not;-) ....Thanks in advance!

Pål Nesteby

PDC-Tangen
Norway
 
this makes sense, you designed your plug-in for 2007, to run it against 2010 you will need to reference the 2010 API.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Thank you Jason, but shouldn't the 2010 API be able to handle 2007?
After what I have read, a 2007 version of an addin should be able to run on 2010, but a 2010 addin (with the new functionality for .NET 4.0) can't be run on a 2007 office. - but perhaps i'm wrong?

If I have to make it available for the .NET 4.0 platform I guess I have to rewrite it or is there any other simple steps that I can do?

Thanks

Pål Nesteby

PDC-Tangen
Norway
 
I'm not sure about the details of backward compatibility for the API or .net references. It would make sense that you would need to reference the correct version of Word for the add-in to work.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top