<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx</link><description>This of course is the advantage of using the old "shared add-in" project types – you can build one add-in that targets all versions of all Office apps that support COM add-ins (ie, 2000 onwards). The question is, can you do something similar with VSTO</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9736752</link><pubDate>Fri, 12 Jun 2009 21:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9736752</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Anurag - not, Office does not support versioned add-in installs. Office will pick up all registered add-ins, regardless of version.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9736752" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9733757</link><pubDate>Fri, 12 Jun 2009 15:13:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9733757</guid><dc:creator>Anurag Aggarwal</dc:creator><description>&lt;p&gt;Is it possible to install seperate add-ins dlls , one for 2003 and another for 2007 on a a machine where only office 2003 is available so as when user upgrade to office 2007 it picks up add-in related to 2007?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Anurag&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9733757" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9644854</link><pubDate>Wed, 27 May 2009 22:36:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644854</guid><dc:creator>Mike McMack</dc:creator><description>&lt;p&gt;Andrew,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; Thanks, that did it! &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9644854" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9644781</link><pubDate>Wed, 27 May 2009 21:38:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644781</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Mike - it sounds like the add-in is hard-disabled. The list of hard-disabled add-ins is app-specific, version-specific and user-specific. For example, the list for Excel 2007 is kept in the registry here: [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Resiliency\DisabledItems].&lt;/p&gt;
&lt;p&gt;To check/re-enable a hard-disabled add-in, go to the Trust Center, Add-ins, and drop down the Manage listbox to find the Disabled items.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9644781" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9644698</link><pubDate>Wed, 27 May 2009 20:27:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644698</guid><dc:creator>Mike McMack</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; As luck would have it, the add-in stopped loading in Excel 2007 on one machine. We didn't make any changes to the add_in, its still an office 2003 COM addin (built in C# with Dev Studio 2008 + SP1) it loads in Excel 2003 on that same machine. We've tried everythying, uninstalling/reinstalled the add-in, excel 2007, the PIA's. &amp;nbsp;When Excel starts, the COM add-in is listed in the Excel configuration tab, but its listed as disabled. &amp;nbsp;We check the checkbox, restart, it doesnt load and its still disabled. We checked the loadBehavior registry key, its correct, set to 3, never changes. &amp;nbsp;We checked the trust center, nothing bad there. &amp;nbsp;Any suggestions greatly appreciated. &lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9644698" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9636015</link><pubDate>Sat, 23 May 2009 00:36:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9636015</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Mike - if you're building on a machine with Office 2003, I assume you're only using 2003 features. Later versions of Office are generally supersets - that is they don't generally remove features, but simply add more features. So any 2003 features should all still be present and correct in 2007. Which means, you don't need the 2003 PIAs on the 2007 machine, as the 2007 PIAs should be a superset of the 2003 PIAs.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9636015" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9636000</link><pubDate>Sat, 23 May 2009 00:29:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9636000</guid><dc:creator>Mike McMack</dc:creator><description>&lt;p&gt;Thanks Andrew. &amp;nbsp; &amp;nbsp;Great article as usual.&lt;/p&gt;
&lt;p&gt;I just wanted to clarify one thing: &amp;nbsp; If the add-in is developed/built on a build machine with Office 2003 PIA's, does that mean that Office 2003 PIA's need to be installed on the deployment machine, even if the customer is using Office 2007? &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9636000" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9635850</link><pubDate>Fri, 22 May 2009 23:00:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635850</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Mike - I understand that many organizations cannot move on to the latest version in the short term. My point is that in this scenario, you don't have to do anything. Your 2003 add-ins should just work in 2007.&lt;/p&gt;
&lt;p&gt;You would only want to move on to building 2007 add-ins if your customers moved to 2007 AND if you want to take advantage of new features in 2007.&lt;/p&gt;
&lt;p&gt;You only have the problem of targeting multiple versions if your customer has multiple versions deployed AND your add-in needs to work in multiple versions AND you need to do different things depending on which version you're running in. In this scenario, you're targeting the lowest common denominator, but at the same time building in forward compatibility. Fortunately, this is not a common scenario.&lt;/p&gt;
&lt;p&gt;Also, just to clarify, this affects all technologies - it doesn't matter if you're using VSTO or not.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9635850" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9635819</link><pubDate>Fri, 22 May 2009 22:43:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635819</guid><dc:creator>Mike McMack</dc:creator><description>&lt;p&gt;Dear Andrew,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks for a great post. Regarding:&lt;/p&gt;
&lt;p&gt;&amp;quot;So, do you want to keep building 2003 add-ins, even though you're targeting Office 2007? It seems to me, you really want to move on. Office has moved on – 2007 introduced major changes from previous versions. VSTO has also moved on.&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; It's not our choice. &amp;nbsp;Some large organizations don't update office in a predictable way, so its unfortunately up to development to figure out how to make our product work with multiple versions of office, and have contingency plans in place so that their IT deployment folks don't blow a gasket when they can't install a version.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9635819" width="1" height="1"&gt;</description></item><item><title>re: Can you build one add-in for multiple versions of Office?</title><link>http://blogs.msdn.com/b/andreww/archive/2007/06/15/can-you-build-one-add-in-for-multiple-versions-of-office.aspx#9635817</link><pubDate>Fri, 22 May 2009 22:43:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635817</guid><dc:creator>andreww</dc:creator><description>&lt;p&gt;Mike - the technique described in this post is for the case where you want to take advantage of _different_ features available in multiple versions of Office.&lt;/p&gt;
&lt;p&gt;If all you want to do is build an add-in for one version, and have that add-in continue to work for later versions - then, you don't have to do anything. Office takes great pains to maintain backwards compatibility, so an add-in built for Office 2003 should just continue to work the same way as always in Office 2007 and later. This has always been the case, since COM add-ins were first introduced in Office 2000.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9635817" width="1" height="1"&gt;</description></item></channel></rss>