Can you give me a clue what the problem is

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

Can you give me a clue what the problem is
installation problem 
petgre




Posts: 16
Joined: 2014-04-29
Add-in Express Registrator Log File: 06/18/2019 13:05:24

Installation directory: C:\Windows\Installer\
Registrator version: 9.2.4635.0
Operating System: Microsoft Windows Server 2016 Standard Edition (build 14393), 64-bit
Process Owner: User
Command Line: "C:\Windows\Installer\MSIDFDA.tmp" /install="C:\Program Files (x86)\Momentum Industrial AB\ArtistOutlookManager\ArtistOutlookManager.dll" /privileges=admin
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
--------------------------------------------------------------
13:05:24 0492 Starting the add-in registration process.
13:05:24 0492 Loading mscoree.dll
13:05:24 0492 Success.
13:05:24 0492 .NET Framework installation directory:
13:05:24 0492 The latest version of .NET Framework: 'v4.0.30319'
13:05:24 0492 Loading CLR: v4.0.30319.
13:05:24 0492 Calling CLRCreateInstance method.
13:05:24 0492 Success.
13:05:24 0492 Calling GetRuntime method.
13:05:24 0492 Success.
13:05:24 0492 Checking if the hosting API of .NET Framework v4.0 beta is installed.
13:05:24 0492 The hosting API is up to date.
13:05:24 0492 Calling GetInterface method for the CorRuntimeHost interface.
13:05:24 0492 Success.
13:05:24 0492 Starting CLR...
13:05:24 0492 Success.
13:05:24 0492 Getting the CLR version.
13:05:24 0492 The CLR v4.0.30319 has been initialized successfully.
13:05:24 0492 Creating a new domain setup.
13:05:24 0492 Success.
13:05:24 0492 The 'shadow copy' is disabled.
13:05:24 0492 Creating a new application domain.
13:05:24 0492 Success.
13:05:24 0492 Getting the base directory for the domain.
13:05:24 0492 Success. The directory is 'C:\Program Files (x86)\Momentum Industrial AB\ArtistOutlookManager\'.
13:05:24 0492 Searching for the Add-in Express core library.
13:05:24 0492 Success. The 'AddinExpress.MSO.2005.dll' file is found.
13:05:24 0492 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
13:05:24 0492 Assembly identity is 'AddinExpress.MSO.2005'.
13:05:24 0492 Success.
13:05:24 0492 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
13:05:24 0492 Success.
13:05:24 0492 Calling the managed registration procedure (DISPID = 1610743823).
13:05:24 0492 Managed Error:
Date and Time: 2019-06-18 13:05:24
Machine Name: MGXA7FE02
IP Address: 172.16.202.102
Current User: BBTOOLS\petgre1028

Application Domain: C:\Program Files (x86)\Momentum Industrial AB\ArtistOutlookManager\
Assembly Codebase: file:///C:/Program Files (x86)/Momentum Industrial AB/ArtistOutlookManager/AddinExpress.MSO.2005.DLL
Assembly Full Name: AddinExpress.MSO.2005, Version=9.2.4635.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 9.2.4635.0

Exception Source: AddinExpress.MSO.2005
Exception Type: System.ComponentModel.Win32Exception
Exception Message: Access is denied
Exception Target Site: CreateSubKey

WHAT IS NOT WORKING???




---- Stack Trace ----
AddinExpress.Projects.Common.ADXRegistryKey.CreateSubKey(subKeyName As String)
AddinExpress.MSO.2005.DLL: N 0133 (0x85) IL
AddinExpress.Projects.Common.Utilities.RegisterManagedType(rootKey As ADXRegistryKey, type As Type, strAsmName As String, strAsmVersion As String, strAsmCodeBase As String, strRuntimeVersion As String, targetHive As ADXTargetRegistryHive, createVersionKey As Boolean)
AddinExpress.MSO.2005.DLL: N 0082 (0x52) IL
AddinExpress.Projects.Common.Utilities.RegisterType(t As Type, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
AddinExpress.MSO.2005.DLL: N 0179 (0xB3) IL
AddinExpress.Projects.Common.Utilities.RegisterAssembly(assembly As Assembly, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
AddinExpress.MSO.2005.DLL: N 0039 (0x27) IL
AddinExpress.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean)
AddinExpress.MSO.2005.DLL: N 0205 (0xCD) IL
AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
AddinExpress.MSO.2005.DLL: N 0696 (0x2B8) IL



13:05:24 0492 The add-in registration process is completed with HRESULT = -2147467259.
Posted 18 Jun, 2019 06:26:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hello,

As shown the log, adxregistrator.exe run without the administrative privileges. Do you use the WiX installer?
Posted 18 Jun, 2019 06:45:34 Top
petgre




Posts: 16
Joined: 2014-04-29
Hi

I could not chage to run as admin, so yes! Its on a Citrix computer.
I use Wix
Posted 18 Jun, 2019 06:48:09 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hello,

Please set the RegisterForAllUsers property of the AddinModule to true, rebuild the project and re-create the setup project again. The 'Add-in Express Setup Project' wizard will generate the correct installer. Then please use the setup.exe to install the add-in. Let me know if the issue still exists.
Posted 18 Jun, 2019 06:57:15 Top
petgre




Posts: 16
Joined: 2014-04-29
AllUsers is on
I got halp by admin, now it works
it was just that I could not run as an admin.

Thanks for the help

//Peter
Posted 18 Jun, 2019 07:01:30 Top
Dmitry Kostochko


Add-in Express team


Posts: 2839
Joined: 2004-04-05
Hi Peter,

You are welcome!
Posted 18 Jun, 2019 08:54:23 Top