Problem installing version 9.4.4644

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

Problem installing version 9.4.4644
Error message during installation 
Pierre Alain Carrier




Posts: 48
Joined: 2011-12-22
Hi,

I'm trying to install version 9.4.4644 on a new computer running Windows 10 and VS 2019. I have tried running the installer as administrator with no success. I did a clean boot and installed with all other applications closed. All windows update are installed.

The error message is "Error occured in Toolbar Controls Installer. See 'Details' section to get more detailed information about the error.

Here is the Detail section:

Detailed technical information follows:
---
Date and Time: 2020-07-15 11:20:43 AM
Machine Name: LUMEN
IP Address: fe80::14b5:8bcb:72b0:fe1f%6
Current User: LUMEN\pacar

Application Domain: ADXTBOInstaller.2005.exe
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/ADXTBOInstaller.2005.exe
Assembly Full Name: ADXTBOInstaller.2005, Version=9.4.4644.0, Culture=neutral, PublicKeyToken=16211aef6795d6cc
Assembly Version: 9.4.4644.0
Assembly Build Date: 2019-06-18 12:21:58 PM

Exception Source: mscorlib
Exception Type: System.BadImageFormatException
Exception Message: Could not load file or assembly 'file:///C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Bin\AddinExpress.ToolbarControls.2005.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception Target Site: _nLoad

---- Stack Trace ----
System.Reflection.RuntimeAssembly._nLoad(fileName As AssemblyName, codeBase As String, assemblySecurity As Evidence, locationHint As RuntimeAssembly, stackMark As StackCrawlMark&, pPrivHostBinder As IntPtr, throwOnFileNotFound As Boolean, forIntrospection As Boolean, suppressSecurityChecks As Boolean)
ADXTBOInstaller.2005.exe: N 00000 (0x0) JIT
System.Reflection.RuntimeAssembly.nLoad(fileName As AssemblyName, codeBase As String, assemblySecurity As Evidence, locationHint As RuntimeAssembly, stackMark As StackCrawlMark&, pPrivHostBinder As IntPtr, throwOnFileNotFound As Boolean, forIntrospection As Boolean, suppressSecurityChecks As Boolean)
ADXTBOInstaller.2005.exe: N 0000 (0x0) IL
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(assemblyRef As AssemblyName, assemblySecurity As Evidence, reqAssembly As RuntimeAssembly, stackMark As StackCrawlMark&, pPrivHostBinder As IntPtr, throwOnFileNotFound As Boolean, forIntrospection As Boolean, suppressSecurityChecks As Boolean)
ADXTBOInstaller.2005.exe: N 0099 (0x63) IL
System.Reflection.RuntimeAssembly.InternalLoadFrom(assemblyFile As String, securityEvidence As Evidence, hashValue As Byte[], hashAlgorithm As AssemblyHashAlgorithm, forIntrospection As Boolean, suppressSecurityChecks As Boolean, stackMark As StackCrawlMark&)
ADXTBOInstaller.2005.exe: N 0058 (0x3A) IL
System.Reflection.Assembly.LoadFrom(assemblyFile As String)
ADXTBOInstaller.2005.exe: N 0002 (0x2) IL
AddinExpress.ToolbarControls.InstallerUtils.AssemblyRegistration(assemblyName As String, installPath As String)
ADXTBOInstaller.2005.exe: N 0030 (0x1E) IL
AddinExpress.ToolbarControls.EntryPoint.Main(args As String[])
ADXTBOInstaller.2005.exe: N 0202 (0xCA) IL
Posted 15 Jul, 2020 10:28:53 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Pierre,

Please follow the suggestions below:

- Close all Visual Studio instances and make sure there's no devenv.exe processes hanging in the Processes tab of the Task Manager window before you start the installer.

- Make sure you are an administrator on the PC.

- Set UAC to its default level.

- In Control Panel | System | Advanced | Performance | Settings | Data Execution Prevention, set the "... for essential Windows programs and services only" flag.

- Remove the following registry key, if it exists:
HKEY_CURRENT_USER\Software\Add-in Express\{product identifier} {version} {package}

- Run setup.exe, not .MSI. If this is applicable, run setup.exe by right clicking it and choosing ?Â?Ð?ìRun as administrator?Â?Ð?í in the context menu.

If the above steps do not help, restart your machine and run the installer anew. If the error persists, turn your antivirus software off for a while, install the product, and then turn the antivirus on again.

Please let me know about the outcome.


Andrei Smolin
Add-in Express Team Leader
Posted 15 Jul, 2020 13:40:52 Top
Pierre Alain Carrier




Posts: 48
Joined: 2011-12-22
Hello Andrei,

Thank you for your answer.

I have tried all steps with no success. This is a brand new system, so all settings are at their default. I check them anyways, redownloaded the installer and try many times, always with the same error.

The event viewer show 3 errors:

1.
Application: ADXTBOInstaller.2005.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
at AddinExpress.ToolbarControls.ADXExceptionManager.DoError(System.Exception, System.Object, System.String)
at AddinExpress.ToolbarControls.EntryPoint.Main(System.String[])


2.
Product: Add-in Express for Microsoft Office and .NET, Professional -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action _F0F5EEC4_F93A_4172_91A0_E86487C8AFE3, location: C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Bin\ADXTBOInstaller.2005.exe, command: ANY Install GAC 2005 "C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Bin" "AddinExpress.ToolbarControls.2005"

3.
Application: ADXTBOInstaller.2005.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.BadImageFormatException
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at AddinExpress.ToolbarControls.UnregistrationHelper.AssemblyUnregister(String fileName)
at AddinExpress.ToolbarControls.ADXExceptionManager.DoError(System.Exception, System.Object, System.String)
at AddinExpress.ToolbarControls.EntryPoint.Main(System.String[])
Posted 15 Jul, 2020 14:40:46 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
BadImageFormatException? I've noticed it at last.

Please provide information about your Windows: run WinVer.exe and send me a screenshot to the support email address; find it in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.

Also, I wonder if this relates to the bitness of your Visual Studio(s). Start the IDE, choose menu Help | About, click Copy Info and send me that info.

Tomorrow, I'll talk to our guys. It looks like we've never received BadImageFormatException in this context.


Andrei Smolin
Add-in Express Team Leader
Posted 15 Jul, 2020 15:30:20 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
What antivirus are you using?


Andrei Smolin
Add-in Express Team Leader
Posted 15 Jul, 2020 15:30:42 Top
Pierre Alain Carrier




Posts: 48
Joined: 2011-12-22
I just sent the email.

At this point, I am only using Windows Security. I have disable it for the installation.
Posted 15 Jul, 2020 15:53:24 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Pierre,

Thank you for the information supplied.

Is your Windows 32bit or 64bit?

When the error is shown, don't close the dialog. Switch to the installation folder and check whether the files mentioned in your exceptions do exist. If so, pack one of them in a ZIP (you may need to password-protect it) and send me to the support email address.


Andrei Smolin
Add-in Express Team Leader
Posted 16 Jul, 2020 11:13:16 Top
Pierre Alain Carrier




Posts: 48
Joined: 2011-12-22
The computer is 64bit with Windows 10 64bit.

I just sent the file.
Posted 16 Jul, 2020 11:24:13 Top
Pierre Alain Carrier




Posts: 48
Joined: 2011-12-22
For anyone else who has this problem. I removed the Add-in Express files from the GAC using gacutil -u and then installed with Administrative rights and everything was fine.

Thank you Andrei for your help.
Posted 17 Jul, 2020 10:10:51 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Many thanks, Pierre!


Andrei Smolin
Add-in Express Team Leader
Posted 17 Jul, 2020 10:11:44 Top