Deployment of applications
Outlook Security Manager Developer's Guide
Security Manager Add-in Express Home > Outlook Security Manager > Online Guide > Deployment Deployment.NET editionTo deploy your software that uses Outlook Security Manager, include the secman.dll and secman64.dll files into your setup package and deploy them in one of these ways:
Note that the deployment options above allow any combination of bitnesses of your application and Outlook. Still, with a 32bit Outlook on a 64bit PC this works only if Security Manager is able to find secman.dll and secman64.dll; this requires that you put both files in the same folder or register them. A particular advantage of using both secman.dll and secman64.dll files is: your application will work even if the end user installs Outlook (Office) of a different bitness. Attention!You should understand that Outlook Security Manager may potentially open a door for unsafe content. To avoid this you must enable Outlook security in a finalization code after each elementary call of the protected objects as shown in the examples above. For detailed step-by-step instructions, please see the 5 part tutorial on our blog: Outlook Security Manager deployment. VCL editionTo deploy your software that uses Outlook Security Manager, include the secman.dll and secman64.dll files into your setup package and deploy them in one of these ways:
Note that the deployment options above allow any combination of bitnesses of your application and Outlook. Still, with a 32bit Outlook on a 64bit PC this works only if Security Manager is able to find secman.dll and secman64.dll; this requires that you put both files in the same folder or register them. A particular advantage of using both secman.dll and secman64.dll files is: your application will work even if the end user installs Outlook (Office) of a different bitness. ActiveX editionTo deploy your software that uses Outlook Security Manager, add secman.dll and osmax.ocx as well as secman64.dll and osmax64.ocx to your setup package. You need to register them as follows:
To register, you can use the regsvr32 utility or special options of your installer; administrative privileges are required. Note that the deployment rules above allow any combination of bitnesses of your application and Outlook. Still, with a 32bit Outlook on a 64bit PC this works only if both secman.dll and secman64.dll files are registered. A particular advantage of using both secman.dll and secman64.dll files is: your application will work even if the end user installs Outlook (Office) of a different bitness. Please pay attention that you should place secman.dll, secman64.dll, osmax.ocx, and osmax64.ocx as shared DLLs into the shared folder of Windows, Common Files \ Outlook Security Manager. Please do not unregister them if they existed before installing your product. Attention!You should understand that Outlook Security Manager may 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". See also a flash video showing how to disable a message like: "A program is trying to access your Address Book or Contacts". |