<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Mine Field of Excel Development Tools - Part 5</title>
	<link>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html</link>
	<description>Welcome to the Nebula</description>
	<pubDate>Thu, 07 Aug 2008 20:40:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Tony Gravagno</title>
		<link>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-108</link>
		<author>Tony Gravagno</author>
		<pubDate>Fri, 28 Dec 2007 20:10:00 +0000</pubDate>
		<guid>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-108</guid>
		<description>&lt;p&gt;I have found that there are specific registry keys that are not set on the target box, though they are set on the source/development box. My first guess was that something in the Setup project wasn't creating the keys, but then the keys do get created in another system with VS and the .NET SDK vs the redistributable runtimes (.NET and Office PIAs). I'll post article #6 in a few days with details, and I'll check to see if manually loading the keys to the target gets it to work.&lt;/p&gt;
&lt;p&gt;It's also interesting that the missing keys aren't for the shim but for the function code itself - and that's confusing since this was added to the Setup as part of the Primary Output. I know the shim is executed because I can add the shim to Excel addins, and the Programmable registry key gets created from the shim.&lt;/p&gt;
&lt;p&gt;About Extensibility.DLL - yeah, I mentioned that in step 20 of Part 5 here, but I haven't tried adding it manually yet. There are so many &#34;maybe I should try this&#34; permutations and very little time to experiment with change, build, deploy, uninstall old version, install new, test, fail, go back.&lt;/p&gt;
&lt;p&gt;About click-once: I think with a shim a new assembly for functions can simply substitute the original, as long as there are no versioning issues. If the code is binary compatible and the GUIDs are the same, there's nothing to differentiate an old DLL from a new one. In this case the shim is managed code calling to our managed code, so all of those rules apply, including click-once. If you're not using a shim then there may be an issue with COM calling a different managed assembly (though I don't think so) and that could mandate full re-installs for users.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I have found that there are specific registry keys that are not set on the target box, though they are set on the source/development box. My first guess was that something in the Setup project wasn&#8217;t creating the keys, but then the keys do get created in another system with VS and the .NET SDK vs the redistributable runtimes (.NET and Office PIAs). I&#8217;ll post article #6 in a few days with details, and I&#8217;ll check to see if manually loading the keys to the target gets it to work.</p>
<p>It&#8217;s also interesting that the missing keys aren&#8217;t for the shim but for the function code itself - and that&#8217;s confusing since this was added to the Setup as part of the Primary Output. I know the shim is executed because I can add the shim to Excel addins, and the Programmable registry key gets created from the shim.</p>
<p>About Extensibility.DLL - yeah, I mentioned that in step 20 of Part 5 here, but I haven&#8217;t tried adding it manually yet. There are so many &quot;maybe I should try this&quot; permutations and very little time to experiment with change, build, deploy, uninstall old version, install new, test, fail, go back.</p>
<p>About click-once: I think with a shim a new assembly for functions can simply substitute the original, as long as there are no versioning issues. If the code is binary compatible and the GUIDs are the same, there&#8217;s nothing to differentiate an old DLL from a new one. In this case the shim is managed code calling to our managed code, so all of those rules apply, including click-once. If you&#8217;re not using a shim then there may be an issue with COM calling a different managed assembly (though I don&#8217;t think so) and that could mandate full re-installs for users.</p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ep</title>
		<link>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-107</link>
		<author>ep</author>
		<pubDate>Fri, 28 Dec 2007 17:45:20 +0000</pubDate>
		<guid>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-107</guid>
		<description>hey tony -- great posts, I only wish I had found them a bit earlier, as I've recently gone through the exact same miserable experience trying to develop automation add-ins for excel. although I haven't bothered to shim my add-ins (yet) I was able to solve my non-dev box deployment issues by adding the exensibility dll in my setup project. Have you had any luck since this post on successfully deploying? 
And on the topic of deployment, have you come across anything on using click once to automate updates for add-ins? Since there's no Publish tab in the project properties, I'm guessing VS isn't going to be a pal and do it for me. Any suggestions rather than making my users manually go through a wizard each time I update? 
thanks for all the useful stuff. </description>
		<content:encoded><![CDATA[<p>hey tony &#8212; great posts, I only wish I had found them a bit earlier, as I&#8217;ve recently gone through the exact same miserable experience trying to develop automation add-ins for excel. although I haven&#8217;t bothered to shim my add-ins (yet) I was able to solve my non-dev box deployment issues by adding the exensibility dll in my setup project. Have you had any luck since this post on successfully deploying?<br />
And on the topic of deployment, have you come across anything on using click once to automate updates for add-ins? Since there&#8217;s no Publish tab in the project properties, I&#8217;m guessing VS isn&#8217;t going to be a pal and do it for me. Any suggestions rather than making my users manually go through a wizard each time I update?<br />
thanks for all the useful stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Gravagno</title>
		<link>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-105</link>
		<author>Tony Gravagno</author>
		<pubDate>Tue, 04 Dec 2007 04:27:00 +0000</pubDate>
		<guid>http://Nebula-RnD.com/blog/tech/2007/11/excel-tools5.html#comment-105</guid>
		<description>&lt;p&gt;Looks like I didn't post this anywhere, not sure in all of this mess.&lt;/p&gt;
&lt;p&gt;Andrew Whitechapel has a recent blog entry with&#160;a bug fix for the COM Shim Wizard v2.3.&#160; I haven't had time to try it but it could be the solution to all of these problems.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/" rel="nofollow"&gt;http://blogs.msdn.com/&lt;/a&gt;&lt;br /&gt;andreww/archive/2007/11/25/com-shim-clr-loader-bug.aspx &lt;/p&gt;
&lt;p&gt;I'd really appreciate it if someone could tell me if this actually fixes deployment issues.&#160; I'll check it myself in the next couple days.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Looks like I didn&#8217;t post this anywhere, not sure in all of this mess.</p>
<p>Andrew Whitechapel has a recent blog entry with&nbsp;a bug fix for the COM Shim Wizard v2.3.&nbsp; I haven&#8217;t had time to try it but it could be the solution to all of these problems.</p>
<p><a href="http://blogs.msdn.com/" rel="nofollow">http://blogs.msdn.com/</a><br />andreww/archive/2007/11/25/com-shim-clr-loader-bug.aspx </p>
<p>I&#8217;d really appreciate it if someone could tell me if this actually fixes deployment issues.&nbsp; I&#8217;ll check it myself in the next couple days.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
