secman.dll registration (automatic or from code in VB.net ??)

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

secman.dll registration (automatic or from code in VB.net ??)
Is there a way to automatically register secman.dll ? 
d henderson




Posts: 39
Joined: 2006-03-06
Is there a way to *automatically* register secman.dll as a COM object on the target install machine.
I know I can have the installing user do 'regsvr32...' but this is painful for the average user..
What other means are folks using to register this? I need options.

Thanks - Don
Posted 14 Apr, 2006 15:18:08 Top
Sergey Grischenko


Add-in Express team


Posts: 7215
Joined: 2004-07-05
Hi Don.

You can use the Register property of the secman.dll item in the setup project. You just need to set this property to 'vsdrfCOMSelfReg'.
Posted 17 Apr, 2006 08:05:39 Top
d henderson




Posts: 39
Joined: 2006-03-06

My Security Manager version is 1.5.1706.0.

I did not see the Register property 'vsdrfCOMSelfReg', but I did see the values 'vsdraDoNotRegister/vsdraCom/vsdraComRelativePath'.

I tried the 'vsdraCom' setting which seems to work. Was this the proper choice?

Thanks - Don H.
Posted 17 Apr, 2006 10:35:25 Top
Sergey Grischenko


Add-in Express team


Posts: 7215
Joined: 2004-07-05
Don, you shoud add the secman.dll manually in your setup project.
Then open the Properties dialog of this dll and set the Register property to 'vsdrfCOMSelfReg'. Don't forget to place secman.dll to 'Common Files \ Outlook Security Manager' folder and set the Permanent property to True (see 'Deployment' chapter in osm.pdf file from the OSM installation package).
Posted 17 Apr, 2006 11:37:28 Top
d henderson




Posts: 39
Joined: 2006-03-06
Sergey,

Done. It works great.

Thanks - Don
Posted 17 Apr, 2006 12:31:03 Top