Deploying vb.net add-in With Outlook Security Manager

Add-in Express™ Support Service
That's what is more important than anything else

Deploying vb.net add-in With Outlook Security Manager
 
kristof1104




Posts: 3
Joined: 2010-10-13
Hi,
A quick question:
using clickonce with reg-free do you still need to register the secman.dll?
In that case you still need Administration rights?


Regards Kristof
Posted 13 Oct, 2010 06:49:28 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Kristof,

No, you don't need to register it. The reg free stands for the registry free. Also you don't need the admin rights.
.NET, Extended MAPI, Windows Phone & RT
Posted 13 Oct, 2010 06:58:29 Top
kristof1104




Posts: 3
Joined: 2010-10-13
Strange :s I can't get it to work..
I followed your second tutorial on how to deploy with click once..
I added secman.dll and set the isolated value to true,
next i added the securityManager.2005 and set the copy local value to true,
Then I build my click once.
Add the secman.dll.deploy file to the clickonce.
Start my add-in and I get the following message:
"The 'secman.OutlookSecurityManager' COM object is not registered."

Thanks Kristof
Posted 13 Oct, 2010 07:03:28 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Kristof,

Did you try to publish a windows forms application as described in the Outlook Security Manager 2010 deployment: Reg Free COM & ClickOnce for Outlook 2010 64-bit, part 5 article (not VSTO based add-in project)? Does it work for you?
.NET, Extended MAPI, Windows Phone & RT
Posted 13 Oct, 2010 07:12:51 Top
kristof1104




Posts: 3
Joined: 2010-10-13
Thanks for the quick response.

No i'm trying to deploy a VSTO. Do I need to do something different when deploying a clickonce for a vsto?

Thank Kristof
Posted 13 Oct, 2010 07:15:24 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Kristof,

Nope. Please try deploying a windows forms application. Does it work for you?
.NET, Extended MAPI, Windows Phone & RT
Posted 13 Oct, 2010 08:40:06 Top