Installation problem

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

Installation problem
Cannot get the add-in to register. 
Chris Ducharme




Posts: 56
Joined: 2013-05-09
I am having trouble getting my add-in to register. The add-in does not appear in the active, inactive, or disabled add-in when looking in the options for outlook.

I am using the Visual Studio Setup and Deployment project.

When i run the setup, the add-in appears in the control panel > programs and features.

Here is the adxRegistrator.log file:
Add-in Express Registrator Log File: 08/25/2017 12:51:58

Installation directory: C:\Users\me.MINISOFTINC\AppData\Local\MiniSoft, Inc\ARCSOutlookAddIn\
Registrator version: 8.6.4408.0
Operating System: Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Users\me.MINISOFTINC\AppData\Local\MiniSoft, Inc\ARCSOutlookAddIn\adxregistrator.exe" /install="ARCSOutlookAddIn.dll" /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): Off
--------------------------------------------------------------
12:51:58 0196 Starting the add-in registration process.
12:51:58 0196 Loading mscoree.dll
12:51:58 0196 Success.
12:51:58 0196 .NET Framework installation directory:
12:51:58 0196 The latest version of .NET Framework: 'v4.0.30319'
12:51:58 0196 Loading CLR: v4.0.30319.
12:51:58 0196 Calling CLRCreateInstance method.
12:51:58 0196 Success.
12:51:58 0196 Calling GetRuntime method.
12:51:58 0196 Success.
12:51:58 0196 Checking if the hosting API of .NET Framework v4.0 beta is installed.
12:51:58 0196 The hosting API is up to date.
12:51:58 0196 Calling GetInterface method for the CorRuntimeHost interface.
12:51:58 0196 Success.
12:51:58 0196 Starting CLR...
12:51:58 0196 Success.
12:51:58 0196 Getting the CLR version.
12:51:58 0196 The CLR v4.0.30319 has been initialized successfully.
12:51:58 0196 Creating a new domain setup.
12:51:58 0196 Success.
12:51:58 0196 Getting the add-in directory.
12:51:58 0196 Success. The directory is 'C:\Users\me.MINISOFTINC\AppData\Local\MiniSoft, Inc\ARCSOutlookAddIn\'
12:51:58 0196 The 'shadow copy' is disabled.
12:51:58 0196 Creating a new application domain.
12:51:58 0196 Success.
12:51:58 0196 Getting the base directory for the domain.
12:51:58 0196 Success. The directory is 'C:\Users\me.MINISOFTINC\AppData\Local\MiniSoft, Inc\ARCSOutlookAddIn\'.
12:51:58 0196 Searching for the Add-in Express core library.
12:51:58 0196 Success. The 'AddinExpress.MSO.2005.dll' file is found.
12:51:58 0196 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
12:51:58 0196 Assembly identity is 'AddinExpress.MSO.2005'.
12:51:58 0196 Success.
12:51:58 0196 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
12:51:58 0196 Success.
12:51:58 0196 Calling the managed registration procedure (DISPID = 1610743823).
12:51:59 0196 Registration success.
12:51:59 0196 The add-in registration process is completed with HRESULT = 0.
Posted 25 Aug, 2017 15:17:28 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Chris,

Check whether the registry keys given in section Locating COM Add-ins in the Registry - see the PDF file in the folder {Add-in Express}\Docs on your development PC - are created?

Also make sure the shortcut you use you start Outlook doesn't specify running Outlook for the account other than the current user's account.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Aug, 2017 06:15:27 Top
Chris Ducharme




Posts: 56
Joined: 2013-05-09
No, it does not appear to be adding the registry keys for the add-in

I am adding it for RegisterForAllUsers = false

There is no registry settings for my add-in in:
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins


And i checked that there is nothing in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins
Posted 28 Aug, 2017 09:47:47 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Chris,

Chris Ducharme writes:
I am adding it for RegisterForAllUsers = false


The log file shows that you pass /privileges=user to adxregistrator.exe; when installing a per-machine add-in you should pass /privileges=admin. I suggest that you check the steps given in section Deploying a per-machine Office extension via an MSI installer, see the PDF file in the folder {Add-in Express}\Docs on your development PC.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Aug, 2017 10:04:14 Top
Chris Ducharme




Posts: 56
Joined: 2013-05-09
I am trying to register it per user, RegisterForAllUsers = false, so i am using /privileges=user. Is that not right?
Posted 28 Aug, 2017 10:07:36 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Ah, sorry. You are right! Could you please check if the user is allowed to create a registry key in HKCU\Software\Microsoft\Office\Outlook\Addins as well as in HKCU\Software\Classes and in HKCU\Software\Classes\CLSID.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Aug, 2017 10:24:20 Top
Chris Ducharme




Posts: 56
Joined: 2013-05-09
Yes, i have full control over the registry keys that you listed. It is my development machine.
Posted 28 Aug, 2017 10:41:32 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Chris,

Hmmm. Can it be that you use Add-in Express 8.7? If so, you need to look for adxregistrator.log in {user profile}\AppData\Local\Temp\<ProductName>\adxregistrator.log; the ProductName part reflects the ProductName field of AssemblyInfo.cs (AssemblyInfo.vb).

Alternatively, please create a new empty add-in project and try to deploy it the way you use to deploy the real add-in. Does this work?


Andrei Smolin
Add-in Express Team Leader
Posted 29 Aug, 2017 05:49:48 Top
Chris Ducharme




Posts: 56
Joined: 2013-05-09
It looks like i am using add-in express 8.6.4408.0. Would that adxRegistrator.log file be different than the one i posted above? I am working on making a new project file.
Posted 29 Aug, 2017 09:58:09 Top
Chris Ducharme




Posts: 56
Joined: 2013-05-09
I recreated the project, with the same add-in code that i was using. Now my add-in installs as it should. I do not know what the problem was, and hope it does not happen again. Thanks for the help.
Posted 30 Aug, 2017 13:11:58 Top