Problems installing Addin Express

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

Problems installing Addin Express
 
Alexander de Man




Posts: 46
Joined: 2007-05-03
Hello Andrei,

No, that doesn't make a difference. I've also tried to install the 2022 extension development workload, but that also didn't help.

I did notice however, that the uninstall still gave the same error when I installed it with only 2019 checked.

On a test vm with Windows 11 and only VS 2022 it installs fine, but on another VM (Win 10) with 2019 and 2022 it results in the same error.

Hope I didn't exceed my activation limit :)

Addition:
I've checked my GAC, but there isn't anything Add-in-Express related left (checked with gacutil /l | find /i "express"). I do have some empty folders in C:\Windows\assembly\GAC_MSIL called:
AddinExpress.OL.2005
AddinExpress.PP.2005
AddinExpress.ToolbarControls.2005
AddinExpress.WD.2005
AddinExpress.XL.2005
Posted 08 Dec, 2021 14:49:54 Top
abel




Posts: 13
Joined: 2018-04-10
Hello Andrej,

today my attempt to install Add-in Express 10.0.4700 was successful. But only when I select one of both Visual Studio versions. It never worked to check all two versions (error message "The method "execute" ... not implemented..." is displayed).

  • I uninstalled the old version and searched for old Add-in Express folders in the programs folder.
  • Then I started the "Visual Studio Developer Command Prompt" as Administrator.
  • I copied the output of "gacutil /l" from command line to an editor and search for "AddinExpress". Each assembly I found I removed with "gacutil /u AssemblyName" (e. g. "gacutil /u AddinExpress.PP.2005").
  • After that I restarted my computer.
  • I installed Add-in Express 10.0.4700 for VS 2022 only and it worked. It also works when Iinstall it for VS 2019 only. But not for both.

One problem I have now is that registration says that I exceeded my activation limit for subscription #2. I used it for my installation attempts, but at the moment it is not installed on any machine.


Regards
Lydia
Posted 09 Dec, 2021 01:53:10 Top
Andrei Smolin


Add-in Express team


Posts: 18183
Joined: 2006-05-11
Hello Lydia,

I've reset the activation counter for your key.

@All

I'm resetting activation counters for your keys.

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Dec, 2021 02:05:41 Top
abel




Posts: 13
Joined: 2018-04-10
Hello Andrej,

thank you.


Regards
Lydia
Posted 09 Dec, 2021 02:12:10 Top
Alexander de Man




Posts: 46
Joined: 2007-05-03
I tried to install for 2019 only again, but now it also gives an error. A different one than before (with an expandable exception)


Application Domain:    ADXXNETOLInstaller.2005.exe
Assembly Codebase:     file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/ADXXNETOLInstaller.2005.exe
Assembly Full Name:    ADXXNETOLInstaller.2005, Version=10.0.4700.0, Culture=neutral, PublicKeyToken=null
Assembly Version:      10.0.4700.0
Assembly Build Date:   20-11-2021 13:08:06

Exception Source:      
Exception Type:        System.IO.FileLoadException
Exception Message:     A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Exception Target Site: Object reference not set to an instance of an object.


Stacktrace

Exception Source:      mscorlib
Exception Type:        System.IO.FileLoadException
Exception Message:     Could not load file or assembly 'EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Exception Target Site: GetExportedTypes

---- Stack Trace ----
   System.Reflection.RuntimeAssembly.GetExportedTypes(assembly As RuntimeAssembly, retTypes As ObjectHandleOnStack)
       ADXXNETOLInstaller.2005.exe: N 00000 (0x0) JIT 
   System.Reflection.RuntimeAssembly.GetExportedTypes()
       ADXXNETOLInstaller.2005.exe: N 0000 (0x0) IL 
   System.Runtime.InteropServices.RegistrationServices.GetRegistrableTypesInAssembly(assembly As Assembly)
       ADXXNETOLInstaller.2005.exe: N 0049 (0x31) IL 
   System.Runtime.InteropServices.RegistrationServices.RegisterAssembly(assembly As Assembly, flags As AssemblyRegistrationFlags)
       ADXXNETOLInstaller.2005.exe: N 0136 (0x88) IL 
   AddinExpress.OL.AssemblyInstaller.RegisterComponent2(assemblyFullPath As String, vsVersion As Int32, isX64 As Boolean)
       ADXXNETOLInstaller.2005.exe: N 0129 (0x81) IL 
   AddinExpress.OL.Macroses.Install(TARGETDIR As String)
       ADXXNETOLInstaller.2005.exe: N 4921 (0x1339) IL 
   AddinExpress.OL.EntryPoint.Main(args As String[])
       ADXXNETOLInstaller.2005.exe: N 0083 (0x53) IL 


After pressing continue I get the following error:

---------------------------
mscorlib
---------------------------
Could not load file or assembly 'Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
---------------------------
OK   
---------------------------


And then it does a rollback.

Installing 9.5 also fails with an exception
Posted 09 Dec, 2021 02:44:21 Top
Alexander de Man




Posts: 46
Joined: 2007-05-03
I've cleared my GAC, Program Files (x86), C:\Windows\assembly\GAC_MSIL and rebooted, but it still doesn't let me install 9.5. Also note that my registry is still full with a lot of AddInExpress related stuff...

Now what?
Posted 09 Dec, 2021 03:10:58 Top
Alexander de Man




Posts: 46
Joined: 2007-05-03
Sorry to make another post, but my test vm is now also broken. Can't install 9.5 anymore even after uninstalling VS 2022.

Please help. I have work that needs to be finished...
Posted 09 Dec, 2021 03:22:57 Top
Andrei Smolin


Add-in Express team


Posts: 18183
Joined: 2006-05-11
Hello Alexander,

I would like to access your PC remotely. Is this possible? If yes, I suggest using TeamViewer; in this case you'll need to send me your session ID and password; send them to the support email address.

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Dec, 2021 03:23:34 Top
Andrei Smolin


Add-in Express team


Posts: 18183
Joined: 2006-05-11
@all

Alexander's issue is solved. Supposedly, it was caused by Add-in Express assemblies (or even Add-in Express folders) in GAC.

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Dec, 2021 03:49:54 Top
Andrei Smolin


Add-in Express team


Posts: 18183
Joined: 2006-05-11
Alexander has mentioned in a separate email that he repaired his VS 2019 before that. So this might also help us solve his issue.

As to the main issue - inability to install Add-in Express 10 for VS2019 and VS 2022 simultaneously - we don't know what causes it yet. Working on this.

Regards from Poland (CET),

Andrei Smolin
Add-in Express Team Leader
Posted 09 Dec, 2021 03:53:38 Top