Outlook Security Manager: Clickonce + RegFreeCom + Windows 7

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

Outlook Security Manager: Clickonce + RegFreeCom + Windows 7
 
seba2904




Posts: 6
Joined: 2010-02-22
Hi,

I'm developing an WinForms Application (.NET 3.5 SP1 + VS2008) which interacts with Outlook. I'm deploying my Application via ClickOnce. I added the SecurityManager2009.dll and the secmanLib.dll as a reference to my project. Then I set the "Isolated" flag on the secmanLib.dll to "true".

Now the problem: On Windows XP Clients everything works fine. The application installs and I can use it. For Windows 7 this doesn't work. As soon as I use the SecurityManager functionality in my code I get the following error:

"The 'secman.OutlookSecurityManager' COM object is not registered."

Any ideas on this?

Thanks, Seba
Posted 22 Feb, 2010 01:51:26 Top
Andrei Smolin


Add-in Express team


Posts: 14966
Joined: 2006-05-11
Hi Seba,

Make sure that you compile your application for the x86 platform.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Feb, 2010 04:09:21 Top
seba2904




Posts: 6
Joined: 2010-02-22
Hi Andrei,

I tried this. But unfortunatelly it didn't help. Still same error...
Posted 22 Feb, 2010 04:36:50 Top
seba2904




Posts: 6
Joined: 2010-02-22
Any other ideas???
Posted 24 Feb, 2010 01:03:57 Top
Andrei Smolin


Add-in Express team


Posts: 14966
Joined: 2006-05-11
Hi Seba,

Please have a look at Simplify App Deployment with ClickOnce and Registration-Free COM.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Feb, 2010 07:50:53 Top
seba2904




Posts: 6
Joined: 2010-02-22
Hi Andrei,

thanks for the link but this didn't help. Basically it works for Win XP the only problem is Win 7.

Here is my app manifest. Does this help?


<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xsi:schemaLocation="urn:s chemas-microsoft-com:asm.v1 assembly.adaptive.xsd" xmlns:asmv3="urn:s chemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns="urn:s chemas-microsoft-com:asm.v2" xmlns:asmv1="urn:s chemas-microsoft-com:asm.v1" xmlns:asmv2="urn:s chemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:s chemas-microsoft-com:clickonce.v1">
  <asmv1:assemblyIdentity version="1.0.0.180" name="VoithMailIntegration.exe" publicKeyToken="42037b7d03ba9999" language="de-DE" processorArchitecture="msil" type="win32" />
  <description asmv2:iconFile="Icon.ico" xmlns="urn:s chemas-microsoft-com:asm.v1" />
  <application />
  <entryPoint>
    <assemblyIdentity name="VoithMailIntegration" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
    <commandLine file="VoithMailIntegration.exe" parameters="" />
  </entryPoint>
  <trustInfo>
    <security>
      <applicationRequestMinimum>
        <PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
        <defaultAssemblyRequest permissionSetReference="Custom" />
      </applicationRequestMinimum>
      <requestedPrivileges xmlns="urn:s chemas-microsoft-com:asm.v3">
        <!-- UAC Manifest Options
            If you want to change the Windows User Account Control level replace the 
            requestedExecutionLevel node with one of the following.

        <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />

            If you want to utilize File and Registry Virtualization for backward 
            compatibility then delete the requestedExecutionLevel node.
        -->
        <requestedExecutionLevel level="asInvoker" uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>
  <dependency>
    <dependentOS>
      <osVersionInfo>
        <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
      </osVersionInfo>
    </dependentOS>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="2.0.50727.0" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="stdole" version="7.0.3300.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="System.Core" version="3.5.0.0" publicKeyToken="b77a5c561934e089" language="neutral" processorArchitecture="msil" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="System.Data.Entity" version="3.5.0.0" publicKeyToken="b77a5c561934e089" language="neutral" processorArchitecture="msil" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
      <assemblyIdentity name="WindowsBase" version="3.0.0.0" publicKeyToken="31bf3856ad364e35" language="neutral" processorArchitecture="msil" />
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Interop.secmanLib.dll" size="5632">
      <assemblyIdentity name="Interop.secmanLib" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>bSI4nbCSnYhGB30NokLZTC15Ilo=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Office.Interop.Outlook.dll" size="408176">
      <assemblyIdentity name="Microsoft.Office.Interop.Outlook" version="11.0.0.0" publicKeyToken="71E9BCE111E9429C" language="neutral" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>9sudi/zBSJTH5MvexyT020UpzQ4=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Office.Interop.Word.dll" size="662120">
      <assemblyIdentity name="Microsoft.Office.Interop.Word" version="11.0.0.0" publicKeyToken="71E9BCE111E9429C" language="neutral" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>HzVG6xdU9ZLGv1y6C8IKrWtlhAY=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Vbe.Interop.dll" size="64088">
      <assemblyIdentity name="Microsoft.Vbe.Interop" version="11.0.0.0" publicKeyToken="71E9BCE111E9429C" language="neutral" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>TYuB9hyuoYvM3Fgsjd+TSTdMLbY=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency xmlns="urn:s chemas-microsoft-com:asm.v1">
    <dependentAssembly asmv2:dependencyType="install" asmv2:codebase="Native.Voith.Applications.ITSolutions.VMI.Lib.manifest" asmv2:size="1376">
      <assemblyIdentity name="Native.Voith.Applications.ITSolutions.VMI.Lib" version="1.0.0.0" type="win32" />
      <hash xmlns="urn:s chemas-microsoft-com:asm.v2">
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>zv3OZYcd+GmsGyHa0vv1U4iuEqo=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency xmlns="urn:s chemas-microsoft-com:asm.v1">
    <dependentAssembly asmv2:dependencyType="install" asmv2:codebase="Native.Voith.Applications.ITSolutions.VMI.NavisionControl.manifest" asmv2:size="1312">
      <assemblyIdentity name="Native.Voith.Applications.ITSolutions.VMI.NavisionControl" version="1.0.0.0" type="win32" />
      <hash xmlns="urn:s chemas-microsoft-com:asm.v2">
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>TVez0rDAaHjN3Rme6Sfc8R5M2ac=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency xmlns="urn:s chemas-microsoft-com:asm.v1">
    <dependentAssembly asmv2:dependencyType="install" asmv2:codebase="Native.Voith.Applications.ITSolutions.VMI.SAPControl.manifest" asmv2:size="1307">
      <assemblyIdentity name="Native.Voith.Applications.ITSolutions.VMI.SAPControl" version="1.0.0.0" type="win32" />
      <hash xmlns="urn:s chemas-microsoft-com:asm.v2">
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>q9csKoc1UJTq4KkaiI5qmYY/u2g=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency xmlns="urn:s chemas-microsoft-com:asm.v1">
    <dependentAssembly asmv2:dependencyType="install" asmv2:codebase="Native.Voith.Applications.ITSolutions.VMI.SharepointControl.manifest" asmv2:size="1314">
      <assemblyIdentity name="Native.Voith.Applications.ITSolutions.VMI.SharepointControl" version="1.0.0.0" type="win32" />
      <hash xmlns="urn:s chemas-microsoft-com:asm.v2">
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>tSbxQKIj68oBYAtATfpKCPG+Xeo=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="office.dll" size="223800">
      <assemblyIdentity name="office" version="11.0.0.0" publicKeyToken="71E9BCE111E9429C" language="neutral" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>qLZAFskrUjHV/TFbvevZR7hSGP4=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="SecurityManager.2005.dll" size="95480">
      <assemblyIdentity name="SecurityManager.2005" version="5.0.2013.2005" publicKeyToken="AA42CAD61AF07CF4" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>wEHU1wUKkfk3Y4Iv4QHSQjntbDM=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="System.Data.SqlServerCe.dll" size="271440">
      <assemblyIdentity name="System.Data.SqlServerCe" version="3.5.1.0" publicKeyToken="89845DCD8080CC91" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>R62Kmz0mD1iDOefj0vCuasN6Ggk=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Voith.Applications.ITSolutions.VMI.Lib.dll" size="34816">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.Lib" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>BPbFV/+o97cBANUPkerLg/RJqFM=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Voith.Applications.ITSolutions.VMI.NavisionControl.dll" size="187904">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.NavisionControl" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>YSQusvFnTR89cE/w8S1ahf3dDyQ=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="deVoith.Applications.ITSolutions.VMI.NavisionControl.resources.dll" size="6144">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.NavisionControl.resources" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="de" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>lgah/Np0opzM1XF+4Cd+P+DCBz4=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Voith.Applications.ITSolutions.VMI.SAPControl.dll" size="119808">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.SAPControl" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>HDcu4vxF8JXRK09SGvwjIDo8oDc=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="deVoith.Applications.ITSolutions.VMI.SAPControl.resources.dll" size="8192">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.SAPControl.resources" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="de" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>Xqoh6S41ItA8w54UbegKVXwOAtM=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Voith.Applications.ITSolutions.VMI.SharepointControl.dll" size="229376">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.SharepointControl" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>xWagLTuiqo8ikg+r0HfueiS4PbM=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="deVoith.Applications.ITSolutions.VMI.SharepointControl.resources.dll" size="7680">
      <assemblyIdentity name="Voith.Applications.ITSolutions.VMI.SharepointControl.resources" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="de" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>EUTeun5OK7LDs0YY5A1OYd3vUH4=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Voith.Intranet.Applications.UddiConnectLib.dll" size="24576">
      <assemblyIdentity name="Voith.Intranet.Applications.UddiConnectLib" version="1.0.1.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>s1rC7GiAxsrmngE5otaGzJgASWs=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="VoithMailIntegration.exe" size="178176">
      <assemblyIdentity name="VoithMailIntegration" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>+11Rafr3aUS2xpxbcFcQJMh0Eho=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="deVoithMailIntegration.resources.dll" size="5632">
      <assemblyIdentity name="VoithMailIntegration.resources" version="1.0.0.0" publicKeyToken="CFDDD579598609AA" language="de" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>xpmQua0b2UIqyKZ6YOtYi3lHgA0=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
  <file name="Icon.ico" size="23558">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>zgpwneLSkfNO1zRYLUIyTZuEQo8=</dsig:DigestValue>
    </hash>
  </file>
  <file name="VoithMailIntegration.exe.config" size="1999">
    <hash>
      <dsig:Transforms>
        <dsig:Transform Algorithm="urn:s chemas-microsoft-com:HashTransforms.Identity" />
      </dsig:Transforms>
      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <dsig:DigestValue>SieRODzhaPRSGqFjcdDnJKDWGtk=</dsig:DigestValue>
    </hash>
  </file>


I do not see an "ComFile" node like in the article...

Thanks, Seba
Posted 25 Feb, 2010 01:14:31 Top
Andrei Smolin


Add-in Express team


Posts: 14966
Joined: 2006-05-11
Hi Seba,

Please have a look at Outlook Security Manager 2010 deployment: Reg Free COM & ClickOnce for Outlook 2010 64-bit, part 5.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Mar, 2010 10:00:44 Top
seba2904




Posts: 6
Joined: 2010-02-22
Hi Andrei,

I did it like described in your article. This works fine for WinXP but it doesn't work for Win7. Did you try it with Win7?

Thanks
Seba
Posted 03 Mar, 2010 00:08:49 Top
Andrei Smolin


Add-in Express team


Posts: 14966
Joined: 2006-05-11
Hi Seba,

It seems you you haven't added a manifest for secman.dll as well as secman.dll itself to your ClickOnce installer.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 03 Mar, 2010 04:35:32 Top
seba2904




Posts: 6
Joined: 2010-02-22
Hi Andrei,

ok so here are the steps what I did:

1. Added the secman.dll and the SecurityManager dll as a Reference to my Project.
2. On the secman Reference I set Isolated and CopyLocal to "True"
3. Then I published the Application.

For WinXP Clients this works without registering the secman.dll

Did I miss any steps?

Thanks in advance!
Posted 03 Mar, 2010 05:57:21 Top