vs 2012 WiX installation secman/secman64

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

vs 2012 WiX installation secman/secman64
How to?? 
rhonsberger


Guest


I have created an Outlook add-in that is using Security Manager. secman.dll, secman64.dll, and setup data for each are not automatically added to Wix deployment projects. Are instructions or examples available somewhere?

Rick
Posted 05 Dec, 2012 10:57:44 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rick,

I will develop an example for you in a short time.
Posted 06 Dec, 2012 08:05:18 Top
rhonsberger


Guest


Thanks Sergey. The issues seem to include:

- testing Outlook bitness
- installing to the Common Files\Outlook Security Manager folder
- only installing if newer
- not uninstalling

But I'm sure you know this, and much more. Is Reg Free COM a better alternative?

Rick
Posted 06 Dec, 2012 10:48:46 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rick,

Please download the example here: http://www.add-in-express.com/files/projects_pub/sendmail_wixsetup.zip
It checks the bitness of the operating system. Outlook can be re-installed but the application should work regardless whether Outlook is 32 bits or 64 bits. The example doesn't check if secman is already installed. You can implement your own custom checks using the WiX SDK:
http://wix.sourceforge.net/manual-wix3/read_a_registry_entry.htm
As to RegFree COM, secman is not designed to use it as a RegFree COM library.
Posted 08 Dec, 2012 06:00:58 Top
rhonsberger


Guest


I concede that I may be reading this wrong:

<Component Id="SecmanComponent_64" Guid="0E9A0C1D-ACD1-4fb6-9A8B-084DBC3A72B4" DiskId="1" Directory="SECMANFOLDER" Permanent="yes" >
<File Id="_secman64_dll" Name="secman64.dll" Source="c:\Program Files (x86)\Common Files\Outlook Security Manager\" SelfRegCost="5000" />
<Condition><![CDATA[VersionNT64]]></Condition>
</Component>

But this condition seems to be testing the bitness of Windows, not Outlook.

Rick
Posted 08 Dec, 2012 10:33:06 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Rick,

Right, it tests the bitness of the operating system. As I said in the previous post, Outlook can be re-installed but the application should work regardless whether Outlook is 32 bits or 64 bits. Of course, you can change this condition as you like.
Posted 10 Dec, 2012 03:40:54 Top