Problem installing add-in on a user's machine

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

Problem installing add-in on a user's machine
"The parameter is incorrect." 
Inspirometer Developer




Posts: 34
Joined: 2017-10-13
We're trying to install our add-in on one of our users machines but for some reason it doesn't want to register correctly and appears in the installed add-ins list as an 'Inactive Add-in'. Setting it to active does not work.

Below is the contents of adxloader.log. It seems to be tripping up on SetDefauktStartupFlags.

Any ideas?

Add-in Express Loader Log File: 05/03/2018 10:59:32:570

Startup directory: C:Usersz003fykkAppDataLocalApps.0ZQNWYXX.DT0+VG0T8G.TGVinsp..tool_101da9896dc485b2_0002.0000_8a2d2635d19d7aba
Loader version: 8.8.4450.0
Operating System: Microsoft Windows 7 Enterprise Edition Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:Program Files (x86)Microsoft OfficeOffice12OUTLOOK.EXE" 
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
10:59:32:575 8296 7952 Start.
10:59:32:575 8296 7952 The minimum supported Office version is 12
10:59:32:575 8296 7952 The host's version is 12.0.6785.0
10:59:32:575 8296 7952 Creating a new instance of the add-in loader.
10:59:32:575 8296 7952 Loading mscoree.dll
10:59:32:577 8296 7952 Success.
10:59:32:577 8296 7952 Loading the configuration from the system registry.
10:59:32:577 8296 7952 Getting the latest CLR version.
10:59:32:577 8296 7952 The latest CLR version is 'v4.0.30319'.
10:59:32:577 8296 7952 The configuration has been loaded successfully.
10:59:32:577 8296 7952     Runtime version: v4.0.30319.
10:59:32:577 8296 7952     Assembly name: InspirometerMeetingsToolADX, PublicKeyToken=7740415350B3E9C2.
10:59:32:577 8296 7952     Class name: InspirometerMeetingsToolADX.AddinModule.
10:59:32:577 8296 7952     Registry key: CLSID{BAC4BFC0-08B2-40C5-833E-89ECAE18D11E}.
10:59:32:577 8296 7952 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
10:59:32:577 8296 7952 Loading CLR: v4.0.30319.
10:59:32:577 8296 7952 Calling CLRCreateInstance method.
10:59:32:577 8296 7952 Success.
10:59:32:577 8296 7952 Calling GetRuntime method.
10:59:32:577 8296 7952 Success.
10:59:32:577 8296 7952 Checking if the hosting API of .NET Framework v4.0 beta is installed.
10:59:32:577 8296 7952 The hosting API is up to date.
10:59:32:577 8296 7952 Calling SetDefaultStartupFlags method.
10:59:32:578 8296 7952 The parameter is incorrect.
Posted 03 May, 2018 05:38:01 Top
Andrei Smolin


Add-in Express team


Posts: 16846
Joined: 2006-05-11
Hello,

Could you please check disabling what add-in lets your add-in start?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 03 May, 2018 06:18:25 Top
Inspirometer Developer




Posts: 34
Joined: 2017-10-13
We disabled each other add-in on the machine one at a time but to no avail. We noticed that a couple of the other add-ins were powered by add-in express (though we didn't think to check versions until we'd disconnected from the user machine, d'oh!) and thought there could be some kind of conflict there.

adxloader.log is still showing the same output with SetDefaultStartupFlags failing.
Posted 03 May, 2018 10:19:11 Top
Andrei Smolin


Add-in Express team


Posts: 16846
Joined: 2006-05-11
I see. Did you try to disable all other add-ins?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 03 May, 2018 10:21:47 Top
Inspirometer Developer




Posts: 34
Joined: 2017-10-13
Yes, all other add-ins got disabled. Quite a bizaar issue, never seen anything like it before
Posted 04 May, 2018 03:52:38 Top
Andrei Smolin


Add-in Express team


Posts: 16846
Joined: 2006-05-11
We suggest that you reinstall .NET Framework 4.0 (and higher) on that machine.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 04 May, 2018 04:48:07 Top
Inspirometer Developer




Posts: 34
Joined: 2017-10-13
Hi Andrei

We've got another appointment to try and fix this again today. It seems this user is not the only one experiencing this issue (right down to the text in adxloader.log), we've had reports of at least two others (all in the same company) having the same problem installing. We've confirmed that .NET 4.5.2 (or higher) is on all the machines and disabling all other add-ins hasn't worked so far.

Any more ideas?
Posted 11 May, 2018 05:28:40 Top
Andrei Smolin


Add-in Express team


Posts: 16846
Joined: 2006-05-11
Hello,

Did you try to uninstall all .NET Framework 4.X versions and install them anew (in the natural order) on that machine?

Also make sure that your add-in is a single add-in listed under the Active Application Add-ins heading on the dialog that you open via File | Options | Add-ins.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 May, 2018 05:48:07 Top
Inspirometer Developer




Posts: 34
Joined: 2017-10-13
We'll try that next time we're on a user machine but do you have any other ideas if that fails? It takes some time for us to set up these meetings with our clients so it becomes tedious trying only one thing out each time.

Also our add-in only appears in Inactive Add-ins (setting it to active does not work) - that's what we're trying to fix!
Posted 11 May, 2018 06:02:13 Top
Andrei Smolin


Add-in Express team


Posts: 16846
Joined: 2006-05-11
Also, please copy here outlook.exe.config from an affected machine.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 May, 2018 06:02:38 Top