<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx</link><description>[Disclaimer: this is currently work in progress.. expect to find partial solution and some explanation] UPDATE: Solution at the end:-) The past week has gone and it feels as if I’ve moved one inch. Started with upgrading a Beta 2 solution to RC1. Not</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#7227661</link><pubDate>Mon, 12 Oct 2009 06:23:59 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7227661</guid><dc:creator>Bandya</dc:creator><author>Bandya</author><description>&lt;p&gt;I am surprised with the 5th requirement for the prerequisites above there. For Outlook 2003 add-on's you must install VSTO 2005 tools for Office runtime (VSTO 2005 SE) without which the add-on will refuse to load at first place. It won't run on VSTO 3.0 runtime.&lt;/p&gt;
&lt;p&gt;I would request you to update this. It doesn't matter what version of .NET framework you have vs. what version of VSTO runtime you install. What all is dependent is that for OL 2003 -&amp;gt; VSTO 2005 runtime &amp;amp; OL 2007 -&amp;gt; VSTO 2008 runtime (VSTO 3.0 runtime) is required. Add-on's won't work in a cross case.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7227661" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6943316</link><pubDate>Fri, 06 Mar 2009 18:34:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6943316</guid><dc:creator>...</dc:creator><author>...</author><description>&lt;p&gt;Interessante Informationen.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6943316" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6779119</link><pubDate>Fri, 12 Dec 2008 03:48:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6779119</guid><dc:creator>KOrayem</dc:creator><author>KOrayem</author><description>&lt;p&gt;All download links aren't working&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6779119" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6714970</link><pubDate>Sat, 01 Nov 2008 06:00:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6714970</guid><dc:creator>Mark B</dc:creator><author>Mark B</author><description>&lt;p&gt;We have an Outlook 2007 Add-in. &lt;/p&gt;
&lt;p&gt;We want to make the installer completely silent and include all pre-requisites in it:&lt;/p&gt;
&lt;p&gt;-VSTO&lt;/p&gt;
&lt;p&gt;-.Net 3.5&lt;/p&gt;
&lt;p&gt;-The Add-in itself&lt;/p&gt;
&lt;p&gt;I haven't learned about Trust levels . We want the setup.exe available for download on the internet to a variety of companies (commercial app) so it needs to be seemless, robust etc so network admins could easiult roll it out to all their Outlook 2007 boxes.&lt;/p&gt;
&lt;p&gt;How can we make it silent and install everthing O&lt;/p&gt;
&lt;p&gt;K?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6714970" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6656531</link><pubDate>Fri, 03 Oct 2008 12:45:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6656531</guid><dc:creator>Nick</dc:creator><author>Nick</author><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;For [chnswam2]: First do You need to set full trust on just an assembly? You need to know that SetSecurity sets FullTrust only over just 1 assembly by default, you need to modify the project to set up full trust for more assemblies. Or, just to test it to see that this is the problem, You can change &amp;quot;Nothing&amp;quot; in string arguments = policyLevel + &amp;quot; -q -ag &amp;quot; + parentCodeGroup + &amp;quot; -url \&amp;quot;&amp;quot; + solutionInstallationUrl + &amp;quot;\&amp;quot; Nothing -n \&amp;quot;&amp;quot; + solutionCodeGroupName + &amp;quot;\&amp;quot; -d \&amp;quot;&amp;quot; + solutionCodeGroupDescription + &amp;quot;\&amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt;with &amp;quot;FullTrust&amp;quot;. Anyway, this is not recommended to do on a client(end user) machine because every assembly put in that location will grant Full Trust. Just for testing ok but change back to &amp;quot;Nothing&amp;quot; after.&lt;/p&gt;
&lt;p&gt;I dunno If I was very clear.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6656531" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6625979</link><pubDate>Mon, 15 Sep 2008 14:35:34 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6625979</guid><dc:creator>Kenn</dc:creator><author>Kenn</author><description>&lt;p&gt;No information is to be found on the net which is actually quite depressing. BUT suddenly it works! Undocumented reason: Vista Service Pack 1. You might wanna try it...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6625979" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6573995</link><pubDate>Thu, 28 Aug 2008 13:51:07 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6573995</guid><dc:creator>chnswam2</dc:creator><author>chnswam2</author><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have developed a VSTO SE Outlook 2007 add-in with Visual Studio 2005.&lt;/p&gt;
&lt;p&gt;I used the default setup project to create the setup files.&lt;/p&gt;
&lt;p&gt;Upon installation, the Add-in works fine in all operating systems, except Windows Vista :(&lt;/p&gt;
&lt;p&gt;The add-in doesn't load. To check, when I view it in the ‘Tools-&amp;gt;Trust center-&amp;gt;Add ins-&amp;gt;Com Add-in’ of Outlook 2007, the message it gives is &amp;quot;Load Behavior: Not loaded.The Managed Add-in Loader failed to initialize&amp;quot;&lt;/p&gt;
&lt;p&gt;I have implemented CAS too. I have also created a project called &amp;quot;SetSecurity&amp;quot; to use Caspol to give FullTrust permissions for all the assemblies.&lt;/p&gt;
&lt;p&gt;In my SetSecurity Project, in a file called CaspolSecurityPolicyCreator.cs, I have the following code:&lt;/p&gt;
&lt;p&gt;// Add the solution code group. Grant no permission at this level.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string arguments = policyLevel + &amp;quot; -q -ag &amp;quot; + parentCodeGroup + &amp;quot; -url \&amp;quot;&amp;quot; + solutionInstallationUrl + &amp;quot;\&amp;quot; Nothing -n \&amp;quot;&amp;quot; + solutionCodeGroupName + &amp;quot;\&amp;quot; -d \&amp;quot;&amp;quot; + solutionCodeGroupDescription + &amp;quot;\&amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt;As it says, not granting trust at this, is that the problem?&lt;/p&gt;
&lt;p&gt;If so how to grant trust at this level too?&lt;/p&gt;
&lt;p&gt;Any ideas/suggestions from anyone on how to get it to work under Vista?&lt;/p&gt;
&lt;p&gt;(Chandra.Mohan@skelta.com)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6573995" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6322819</link><pubDate>Thu, 26 Jun 2008 13:47:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6322819</guid><dc:creator>thexray</dc:creator><author>thexray</author><description>&lt;p&gt;what a bummer... :(&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6322819" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6200363</link><pubDate>Sun, 18 May 2008 07:51:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6200363</guid><dc:creator>jerry</dc:creator><author>jerry</author><description>&lt;p&gt;Yeah... what happened to the sample? :( &amp;nbsp;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6200363" width="1" height="1"&gt;</description></item><item><title>re: VSTO Outlook: the Complete Setup Solution</title><link>http://weblogs.asp.net/mnissen/pages/427504.aspx#6156996</link><pubDate>Sun, 04 May 2008 17:28:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6156996</guid><dc:creator>DIgvijay</dc:creator><author>DIgvijay</author><description>&lt;p&gt;I could not locate the file you mentioned:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://sharepoint.madsnissen.net/BlogContent/CustomPrerequisites_Final.zip"&gt;sharepoint.madsnissen.net/.../CustomPrerequisites_Final.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;let me know where can i find it.&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Digvijay&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6156996" width="1" height="1"&gt;</description></item></channel></rss>