D
David Thielen
Hi;
As I understand it, this is the situation for writing .NET add-ins.
1) Microsoft has no PIAs for Office 2000.
2) Microsoft provides PIAs for Office XP (2002). But they do not ship with
Office itself.
3) Office 2003 includes PIAs in it's install, but they are only installable
if .NET was installed before Office was installed.
4) Microsoft says you must build a separate version of your add-in for each
version of Office. In other words, building a version that uses the Office
2002 PIAs should not be run on Office 2003.
This leads to the following questions:
Q1) To use Office 2000, I must build my own PIAs. However, another add-in
that also is built for Office 2000 would build it's own PIAs. Won't this lead
to problems even if neither are placed in the GAC and both are strongly
signed as they will be accessing the same COM object?
Q2) When installing the Office 2002 PIAs, should they be installed in the GAC?
Q3) If a user installed .NET after installing Office 2003, how do I test for
the fact that they don't have the PIAs installed? And what should I tell them
to do?
Q4) Do I really need to do a separate build for Word 2002 and Word 2003? Or
will Word 2003 work fine with an add-in built for Word 2002?
Q5) Will an add-in built for Word 2002 and using the Word 2002 PIAs run on
Word 2000 - assuming it doesn't make use of any methods that are Word 2002
only?
Q6) When Word 2004 (or 2005) comes out, will my Word 2003 add-in work on it?
Or will I need to build a new one then?
thanks - dave
As I understand it, this is the situation for writing .NET add-ins.
1) Microsoft has no PIAs for Office 2000.
2) Microsoft provides PIAs for Office XP (2002). But they do not ship with
Office itself.
3) Office 2003 includes PIAs in it's install, but they are only installable
if .NET was installed before Office was installed.
4) Microsoft says you must build a separate version of your add-in for each
version of Office. In other words, building a version that uses the Office
2002 PIAs should not be run on Office 2003.
This leads to the following questions:
Q1) To use Office 2000, I must build my own PIAs. However, another add-in
that also is built for Office 2000 would build it's own PIAs. Won't this lead
to problems even if neither are placed in the GAC and both are strongly
signed as they will be accessing the same COM object?
Q2) When installing the Office 2002 PIAs, should they be installed in the GAC?
Q3) If a user installed .NET after installing Office 2003, how do I test for
the fact that they don't have the PIAs installed? And what should I tell them
to do?
Q4) Do I really need to do a separate build for Word 2002 and Word 2003? Or
will Word 2003 work fine with an add-in built for Word 2002?
Q5) Will an add-in built for Word 2002 and using the Word 2002 PIAs run on
Word 2000 - assuming it doesn't make use of any methods that are Word 2002
only?
Q6) When Word 2004 (or 2005) comes out, will my Word 2003 add-in work on it?
Or will I need to build a new one then?
thanks - dave