This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Outlook Add-in installation error

Yesterday I installed the Outlook add-in across the network.


On some computers we get a error when we start Outlook regarding the add-in.

I already tried to remove The remove the add-in, Office, VSTO 4.0, Dotnet 4.

And then reïnstalled everything. It did not work.

After that I removed everything again, reïnstalled office and let the add-in installation install VSTO 4.0 and the dotnet framework.

Still no succes.

Does anyone have an idea?

The eventlog shows the following:

(conversion not valid)

Eventlog entry: ERROR VSTO 4.0 eventid: 4096


Customization URI: file:///C:/Program Files (x86)/Sophos/Sophos Outlook Add-in/
Exception: De opgegeven conversie is ongeldig.


************** Exception Text **************
System.InvalidCastException: De opgegeven conversie is ongeldig.
   bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
   bij Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
msvcm80
    Assembly Version: 8.0.50727.6195
    Win32 Version: 8.00.50727.6195
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll
----------------------------------------
BCMCommon
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.8619.1
    CodeBase: file:///C:/Windows/assembly/GAC_32/BCMCommon/3.0.0.0__31bf3856ad364e35/BCMCommon.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Office.Runtime.v10.0
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.31119.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Office.Runtime.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Office.Runtime.v10.0.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5420 built by: Win7SP1
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.31119.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Hosting.v10.0.dll
----------------------------------------
System.AddIn
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.5446 built by: Win7SP1GDR
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.AddIn/3.5.0.0__b77a5c561934e089/System.AddIn.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.31119.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.ServerDocument.v10.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.30729.4130
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll
----------------------------------------
Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.31119.0
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Tools.Applications.Runtime.v10.0.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
mscorlib.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Deployment.resources
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment.resources/2.0.0.0_nl_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------


:34909


This thread was automatically locked due to age.
Parents
  • Well strangely, all computers are running almost the same configuration which is not the 32bit version of W7 but:

    They are running W7 Professional (x64) SP1 (Dutch version),

    .net Framework Client Profile and Extended version 4.0.30319

    Various office versions mostly the 2007 standard,

    and they all have Microsoft Visual Studio 2010 Tools for Office Runtime(x64) version 10.0.31119

    This is the installation string i am using:


    msiexec /i %SOFTWARE%\SophosOutlookAdd-in\SophosOutlookAddInSetup.msi /qn ENABLETYPE=2 ENCRYPTIONCONFIGURABLE=2 USERPREFCONFIGURABLE=2 SPAMEMAILADDRESS="is-spam@labs.sophos.com; me@mycompany.nl" SPAMEMAILADDRESSCONFIGURABLE=2 SPAMACTION=1 SAVESPAMREPORT=1 SHOWACKNOWLEDGEMENT=1

    In the windows log the installation says it completed succesfully and there are no exit codes coming back from the installer.

    On a failed computer I tried to do the installation standalone but it still gives the same error.

    I will notify your support team by e-mail.

    Best regards

    Peter Vink.

    :34937
Reply
  • Well strangely, all computers are running almost the same configuration which is not the 32bit version of W7 but:

    They are running W7 Professional (x64) SP1 (Dutch version),

    .net Framework Client Profile and Extended version 4.0.30319

    Various office versions mostly the 2007 standard,

    and they all have Microsoft Visual Studio 2010 Tools for Office Runtime(x64) version 10.0.31119

    This is the installation string i am using:


    msiexec /i %SOFTWARE%\SophosOutlookAdd-in\SophosOutlookAddInSetup.msi /qn ENABLETYPE=2 ENCRYPTIONCONFIGURABLE=2 USERPREFCONFIGURABLE=2 SPAMEMAILADDRESS="is-spam@labs.sophos.com; me@mycompany.nl" SPAMEMAILADDRESSCONFIGURABLE=2 SPAMACTION=1 SAVESPAMREPORT=1 SHOWACKNOWLEDGEMENT=1

    In the windows log the installation says it completed succesfully and there are no exit codes coming back from the installer.

    On a failed computer I tried to do the installation standalone but it still gives the same error.

    I will notify your support team by e-mail.

    Best regards

    Peter Vink.

    :34937
Children
No Data