<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Outlook Security Manager 2010 deployment: Reg Free COM &amp; ClickOnce for Outlook 2010 64-bit, part 5</title>
	<atom:link href="http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/</link>
	<description>All about developing COM add-ins, smart tags and RTD servers in Visual Studio .NET, VSTO and Delphi + Add-in Express</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:13:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Renat Tlebaldziyeu</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10310</link>
		<dc:creator>Renat Tlebaldziyeu</dc:creator>
		<pubDate>Mon, 20 Dec 2010 13:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10310</guid>
		<description>Hello Mike,

Yes, you need to have the administrative permissions to register &quot;secman.dll&quot; or &quot;secman64.dll&quot;. Sorry, I don&#039;t know any way to use registration free COM. You can try using Outlook Security Manager without registration, it&#039;s a new feature introduced in the latest build of  Security Manager 2010 (2010.6.1.3016) and it is still on the testing stage; but possibly, it will work for you.You can download the latest build from the &lt;a href=&quot;http://www.add-in-express.com/downloads/osm.php&quot; rel=&quot;nofollow&quot;&gt;Outlook Security Manager download page&lt;/a&gt;.

To deploy your project without registering Security Manager dlls, please execute the following steps:

1. Include the SecurityManager.2005.dll assembly in your setup package. This assembly should be placed into a folder where all your deployed assemblies are located.
2. Include two redistributable libraries - secman.dll and secman64.dll - put them either into the shared folder of Windows, “[Common Files Folder]\Outlook Security Manager” or into your application folder.
3. That&#039;s all. You don&#039;t need to register any dlls.</description>
		<content:encoded><![CDATA[<p>Hello Mike,</p>
<p>Yes, you need to have the administrative permissions to register &#8220;secman.dll&#8221; or &#8220;secman64.dll&#8221;. Sorry, I don&#8217;t know any way to use registration free COM. You can try using Outlook Security Manager without registration, it&#8217;s a new feature introduced in the latest build of  Security Manager 2010 (2010.6.1.3016) and it is still on the testing stage; but possibly, it will work for you.You can download the latest build from the <a href="http://www.add-in-express.com/downloads/osm.php" rel="nofollow">Outlook Security Manager download page</a>.</p>
<p>To deploy your project without registering Security Manager dlls, please execute the following steps:</p>
<p>1. Include the SecurityManager.2005.dll assembly in your setup package. This assembly should be placed into a folder where all your deployed assemblies are located.<br />
2. Include two redistributable libraries &#8211; secman.dll and secman64.dll &#8211; put them either into the shared folder of Windows, “[Common Files Folder]\Outlook Security Manager” or into your application folder.<br />
3. That&#8217;s all. You don&#8217;t need to register any dlls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike VE</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10307</link>
		<dc:creator>Mike VE</dc:creator>
		<pubDate>Sat, 18 Dec 2010 17:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10307</guid>
		<description>Hi

Like Ryan I want to deploy an add-in with both secman and secman64 but via an MSI.  (A lot of my clients use proxy server which obstruct Click-Once).  If I do it the way described in your very useful articles it all works fine but the resulting MSI fails if run ny a non admin user - there is a warning that secman has failed to register and although the setup completes the addin is not loaded by Outlook.

If I could find a way to use registration free COM for both secman and secman64 then an ordinary user could install the add-in</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Like Ryan I want to deploy an add-in with both secman and secman64 but via an MSI.  (A lot of my clients use proxy server which obstruct Click-Once).  If I do it the way described in your very useful articles it all works fine but the resulting MSI fails if run ny a non admin user &#8211; there is a warning that secman has failed to register and although the setup completes the addin is not loaded by Outlook.</p>
<p>If I could find a way to use registration free COM for both secman and secman64 then an ordinary user could install the add-in</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renat Tlebaldziyeu</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10077</link>
		<dc:creator>Renat Tlebaldziyeu</dc:creator>
		<pubDate>Wed, 06 Oct 2010 11:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10077</guid>
		<description>Could you please send a sample addin project that can reproduce the issue to the support e-mail address (see readme.txt in the Add-in Express installation folder)? Please make sure your e-mail contains a link to this article. Also, please specify what versions (and bitness) of OS and Outlook you use on the problematic PC.</description>
		<content:encoded><![CDATA[<p>Could you please send a sample addin project that can reproduce the issue to the support e-mail address (see readme.txt in the Add-in Express installation folder)? Please make sure your e-mail contains a link to this article. Also, please specify what versions (and bitness) of OS and Outlook you use on the problematic PC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Farley</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10070</link>
		<dc:creator>Ryan Farley</dc:creator>
		<pubDate>Thu, 30 Sep 2010 19:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10070</guid>
		<description>Yes, I am using it that way now. The problem is that the registration fails on occasion, so I was wanting to use reg-free COM for these and avoid the registration, but getting lost trying to piece together the relevant parts from the various articles in this series.</description>
		<content:encoded><![CDATA[<p>Yes, I am using it that way now. The problem is that the registration fails on occasion, so I was wanting to use reg-free COM for these and avoid the registration, but getting lost trying to piece together the relevant parts from the various articles in this series.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renat Tlebaldziyeu</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10069</link>
		<dc:creator>Renat Tlebaldziyeu</dc:creator>
		<pubDate>Thu, 30 Sep 2010 10:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10069</guid>
		<description>Ryan,

If you deploy an ADX-based add-in via ClickOnce with Add-in Express 2010 for Office and .net, you needn&#039;t use ManifestFix.exe or register dlls manually.
If you have a SecurityManager.2005.dll reference in your project, then after selecting &quot;Publish ADX Project&quot; from the Build menu and clicking the Populate button in the &quot;Publish&quot; dialog window, you will see that the secman.dll and secman64.dll files were added automatically to the Files list for publishing. They will also get registered automatically when your add-in is installed on the end-user PC. It&#039;s a feature of Add-in Express 2010 :)</description>
		<content:encoded><![CDATA[<p>Ryan,</p>
<p>If you deploy an ADX-based add-in via ClickOnce with Add-in Express 2010 for Office and .net, you needn&#8217;t use ManifestFix.exe or register dlls manually.<br />
If you have a SecurityManager.2005.dll reference in your project, then after selecting &#8220;Publish ADX Project&#8221; from the Build menu and clicking the Populate button in the &#8220;Publish&#8221; dialog window, you will see that the secman.dll and secman64.dll files were added automatically to the Files list for publishing. They will also get registered automatically when your add-in is installed on the end-user PC. It&#8217;s a feature of Add-in Express 2010 :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Farley</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10066</link>
		<dc:creator>Ryan Farley</dc:creator>
		<pubDate>Wed, 29 Sep 2010 23:42:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10066</guid>
		<description>Also, when I attempt to use the code above to use the ManifestFix.exe, these lines:

if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed &amp;&amp; System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun) 

throw an error that &quot;Application identity is not set&quot;. I am deploying the addin via ClickOnce.</description>
		<content:encoded><![CDATA[<p>Also, when I attempt to use the code above to use the ManifestFix.exe, these lines:</p>
<p>if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed &amp;&amp; System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun) </p>
<p>throw an error that &#8220;Application identity is not set&#8221;. I am deploying the addin via ClickOnce.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Farley</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10065</link>
		<dc:creator>Ryan Farley</dc:creator>
		<pubDate>Wed, 29 Sep 2010 23:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10065</guid>
		<description>Got it. What I am trying to do is use Reg-Free COM with Outlook Security Manager (secman.dll and secman64.dll) with a ClickOnce deployed ADX Outlook addin.

I am trying to follow the series of posts regarding using RegFree COM with Outlook Security Manager but getting lost along the way somewhere. I don&#039;t suppose you have some complete list of steps somewhere or demo project I could download that covers how to do this for a ClickOnce deployed Outlook addin that needs to target Outlook 2010 32 and 64 bit?

Thanks</description>
		<content:encoded><![CDATA[<p>Got it. What I am trying to do is use Reg-Free COM with Outlook Security Manager (secman.dll and secman64.dll) with a ClickOnce deployed ADX Outlook addin.</p>
<p>I am trying to follow the series of posts regarding using RegFree COM with Outlook Security Manager but getting lost along the way somewhere. I don&#8217;t suppose you have some complete list of steps somewhere or demo project I could download that covers how to do this for a ClickOnce deployed Outlook addin that needs to target Outlook 2010 32 and 64 bit?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renat Tlebaldziyeu</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10063</link>
		<dc:creator>Renat Tlebaldziyeu</dc:creator>
		<pubDate>Wed, 29 Sep 2010 14:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10063</guid>
		<description>Thanks, Ryan!

Yes, you are right, if you deploy a standalone application, you can still build for AnyCPU using the CorFlags Conversion Tool to configure the bitness flag depending on the Outlook bitness. If you do not use the CorFlags Conversion Tool, then you should build your application with &quot;x64&quot; for Outlook 64-bit and with &quot;x86&quot; for Outlook 32-bit.

But if you deploy an add-in (not a standalone application), you needn&#039;t use CorFlags, you can always build your add-in for AnyCPU.</description>
		<content:encoded><![CDATA[<p>Thanks, Ryan!</p>
<p>Yes, you are right, if you deploy a standalone application, you can still build for AnyCPU using the CorFlags Conversion Tool to configure the bitness flag depending on the Outlook bitness. If you do not use the CorFlags Conversion Tool, then you should build your application with &#8220;x64&#8243; for Outlook 64-bit and with &#8220;x86&#8243; for Outlook 32-bit.</p>
<p>But if you deploy an add-in (not a standalone application), you needn&#8217;t use CorFlags, you can always build your add-in for AnyCPU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Farley</title>
		<link>http://www.add-in-express.com/creating-addins-blog/2010/06/04/outlook-deployment-clickonce/comment-page-1/#comment-10062</link>
		<dc:creator>Ryan Farley</dc:creator>
		<pubDate>Wed, 29 Sep 2010 00:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.add-in-express.com/creating-addins-blog/?p=1860#comment-10062</guid>
		<description>Thanks. This is a very useful article. I do want to clarify one thing. You mention the following:

&quot;In the ManifestFix.exe utility, I allowed for the second condition too – for Outlook 32-bit, your application must be compiled under an x86 platform, for Outlook 64-bit – under x64. I used the CorFlags Conversion Tool for this.&quot;

Are you saying that we DO have to target the addin for a specific CPU or that you are flipping the bit using CorFlags (and we can still build for AnyCPU, is this right?)

Can you clarify this?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks. This is a very useful article. I do want to clarify one thing. You mention the following:</p>
<p>&#8220;In the ManifestFix.exe utility, I allowed for the second condition too – for Outlook 32-bit, your application must be compiled under an x86 platform, for Outlook 64-bit – under x64. I used the CorFlags Conversion Tool for this.&#8221;</p>
<p>Are you saying that we DO have to target the addin for a specific CPU or that you are flipping the bit using CorFlags (and we can still build for AnyCPU, is this right?)</p>
<p>Can you clarify this?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

