Error installing version 9

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

Error installing version 9
 
Rob Blackin




Posts: 67
Joined: 2016-02-20
I'm getting the following error while installing version 9 of Addin Express on the build server. I have previously uninstall the existing version.

I tried running it as administrator and I get the same error


Detailed technical information follows:
---
Date and Time: 5/14/2018 5:53:42 PM
Machine Name: EC2AMAZ-FUTK4BE
IP Address: fe80::f18a:ee17:e7ca:889a%4
Current User: EC2AMAZ-FUTK4BE\enrique

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=9.0.4610.0, Culture=neutral, PublicKeyToken=null
Assembly Version: 9.0.4610.0
Assembly Build Date: 5/3/2018 9:50:04 AM

Exception Source: mscorlib
Exception Type: System.IO.FileNotFoundException
Exception Message: Could not load file or assembly 'EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
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.RegisterComponent(AssemblyFullName As String, pGAC As Boolean, pCOM As Boolean, pMSCoree As Boolean, pTypeLib As Boolean, pCodeBase As Boolean, pADX As Boolean, pADXInstallDir As Boolean, InstallDir As String)
ADXXNETOLInstaller.2005.exe: N 0033 (0x21) IL


Any help is appreciatted

The server is a Windows Server 2016.

I hit the continue button and the installation finished but I'm afraid something will crash eventually.
Posted 14 May, 2018 13:20:55 Top
Andrei Smolin


Add-in Express team


Posts: 15108
Joined: 2006-05-11
Hello Rob,

Please follow these steps:

- uninstall Add-in Express 9 (if it is installed)
- start Windows Explorer, navigate to C:\Program Files (x86)\Microsoft Visual Studio\2017\{Visual Studio Edition}\Common7\IDE\PublicAssemblies, right-click envdte.dll and choose Copy on the context menu
- create folder C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Bin and paste envdte.dll previously copied,
- install Add-in Express 9

Please let me know if this works for you.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2018 01:29:24 Top
Scott Johnston




Posts: 2
Joined: 2018-05-04
Morning,

I was having exactly the same issue with Visual Studio 2017 during Add-in Express installation.
I applied the fix and installation runs OK with no errors now.

Regards

Scott
Posted 15 May, 2018 04:28:40 Top
Andrei Smolin


Add-in Express team


Posts: 15108
Joined: 2006-05-11
Thank you, Scott!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2018 04:43:22 Top
Scott Johnston




Posts: 2
Joined: 2018-05-04
Andrei,

Correction this appears to stop Add-in Express registering with Visual Studio 2017.
I can't see the Register/UnRegister items or project context menus.
If I uninstall and remove the envdte.dll before re-installing the menu items are visible and Add-in Express appears to register OK.

Scott
Posted 15 May, 2018 06:46:58 Top
Andrei Smolin


Add-in Express team


Posts: 15108
Joined: 2006-05-11
Hello Scott,

We suppose you've run into the scenario in which the asynchronous package that Add-in Express installs wasn't started by the moment you open the context menu. We suggest opening the Help | About dialog and checking inf Add-in Express is registered: if it is registered, then closing the About dialog starts the package and you see the Add-in Express items in the context menu. We think this is a matter of 2-10 seconds for the package to start; we can't influence this.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 15 May, 2018 11:22:55 Top