Working example with Setup-project for secman usage on x86 and x64?

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

Working example with Setup-project for secman usage on x86 and x64?
 
MW23




Posts: 71
Joined: 2007-01-11
Hi there,

i am building a standalone exe (uses redemption) to index outlook. the security dialog pops up on client machines. secman.dll will do, i know. but what about x64 systems? Is there and working project + setup project to deploy the RIGHT secman.dll (or secman64.dll) including checking bitness or bitness conditions or registering ?

Thanks!

Martin
Posted 28 Jan, 2011 11:42:22 Top
MW23




Posts: 71
Joined: 2007-01-11
I found SecManRegisterServer()!

Can i use this to call something like that:

bool is64bit = Is64BitOutlook();
if (is64bit)
SecurityManager.SecManRegisterServer64();
else
SecurityManager.SecManRegisterServer();

If so, do i still need to selfregister both DLLs in the setup project?
Posted 28 Jan, 2011 11:56:18 Top
Eugene Astafiev


Add-in Express team


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

Please have a look at the series of articles called Outlook Security Manager 2010 deployment on our technical blog. Pay a special attention to the Outlook Security Manager 2010 deployment: bitness and regsvr32 utility, part 2 article. Is it what you are looking for?
.NET, Extended MAPI, Windows Phone & RT
Posted 28 Jan, 2011 12:38:35 Top