Security Manager for Microsoft® Outlook®Add-in Express Home > Outlook Security Manager > Online Guide > Deployment Deployment
.NET edition
To deploy your software that uses Outlook Security Manager you should include the secman.dll file in your setup package and register it on an end-user computer as a COM object. To register it you can use the regsvr32 utility or special options of your installer (for example, vsdrfCOMSelfReg). In addition, your setup package must include SecurityManager.dll (SecurityManager.2005.dll) that must be located in the application install folder.
Please note, you should place secman.dll as a shared DLL into the shared folder of Windows, Common Files \ Outlook Security Manager. Please do not unregister secman.dll if it had existed before you installed your product. The complete information about deploying shared files you can find on the MSDN website: Windows 2000 Application Specifications: Component Sharing
You can find the redistributable version of secman.dll in the Redistributable subfolder of Outlook Security Manager folder.
Per-user Registration
Note that you can deploy your .NET solution that uses the Security Manager using ClickOnce. You don't need to do anything special, just deploy your solution. There's a problem however: if two solutions install the Security Manager in this way, then uninstalling one of them will break the other one. To bypass this problem use RegFree COM which is available for Windows XP and higher; look at the sample that deploys Redemption in this way.
VCL edition
To deploy your software that uses Outlook Security Manager you should include the secman.dll file to your setup package and register it on an end-user computer as a COM object. To register it you can use the regsvr32 utility or special options of your installer. Please pay attention that you should place secman.dll as a shared DLL into the shared folder of Windows, Common Files \ Outlook Security Manager. Please do not unregister secman.dll if it existed before you install your product.
You can find the redistributable version of secman.dll in the Redistributable subfolder of Outlook Security Manager folder.
ActiveX edition
To deploy your software that uses Outlook Security Manager you should include the secman.dll and osmax.ocx files to your setup package and register them on an end-user computer as a COM objects. To register them you can use the regsvr32 utility or special options of your installer. Please pay attention that you should place secman.dll and osmax.ocx as shared DLLs into the shared folder of Windows, Common Files \ Outlook Security Manager. Please do not unregister them if they existed before you install your product.
You can find the redistributable version of secman.dll in the Redistributable subfolder of the Outlook Security Manager folder.
Attention!
You should understand that Outlook Security Manager can potentially open a door for unsafe content. To avoid this you must enable Outlook security within a finalization code after each elementary call of the protected objects as we showed in the examples of how to disable warnings like: "a program is trying to access email addresses" and "a program is trying to automatically send email". See also a flash video showing how to disable a message like: "A program is trying to access your Address Book or Contacts". Back to Outlook Security Manager homepage |