Problems with adxregistrator and Office

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

Problems with adxregistrator and Office
 
Marco Siebert




Posts: 5
Joined: 2011-12-09
Hello,

I have a problem when calling adxregistrator.exe for a user to register an Excel-AddIn. Especially on Citrix I have the following problem:
If the user logs in on the machine the first time, his profile is created. Calling adxregistrator than does not register the addin. So when he starts Excel, he will not see the addin at all. What is strange is the fact, that everything works fine, when he starts Excel once before calling adxregistrator. I suppose that with the first start of Excel some needed registry keys (needed for adxregistrator to run) are created. Am I doing something wrong or is there another way to be successfull without running Excel before?

Thank you and kind regards
Marco Siebert
Posted 04 Feb, 2016 02:50:08 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Marco,

Please copy here the adxregistrator.log file created when run in such a scenario. You may also choose to send the log file to the support email address: find it in {Add-in Express installation folder}\readme.txt and make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 04 Feb, 2016 04:36:24 Top
Marco Siebert




Posts: 5
Joined: 2011-12-09
Hi Andrei,

here the adxregistrator.log:

Add-in Express Registrator Log File: 02/04/2016 10:38:12

Installation directory: C:\Program Files (x86)\vwd group\vwd data analytics XL\
Registrator version: 8.0.4330.0
Operating System: Microsoft Windows Server 2008 R2 Standard Edition Service Pack 1 (build 7601), 64-bit
Process Owner: User
Command Line: "C:\Program Files (x86)\vwd group\vwd data analytics XL\adxregistrator.exe" /install="MarketManager.Ui.Addin.dll" /privileges=user
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
--------------------------------------------------------------
10:38:12 0184 Starting the add-in registration process.
10:38:12 0184 Loading mscoree.dll
10:38:12 0184 Success.
10:38:12 0184 .NET Framework installation directory:
10:38:12 0184 The latest version of .NET Framework: 'v4.0.30319'
10:38:12 0184 Loading CLR: v4.0.30319.
10:38:12 0184 Calling CLRCreateInstance method.
10:38:12 0184 Success.
10:38:12 0184 Calling GetRuntime method.
10:38:12 0184 Success.
10:38:12 0184 Checking if the hosting API of .NET Framework v4.0 beta is installed.
10:38:12 0184 The hosting API is up to date.
10:38:12 0184 Calling GetInterface method for the CorRuntimeHost interface.
10:38:12 0184 Success.
10:38:12 0184 Starting CLR...
10:38:12 0184 Success.
10:38:12 0184 Getting the CLR version.
10:38:12 0184 The CLR v4.0.30319 has been initialized successfully.
10:38:12 0184 Creating a new domain setup.
10:38:12 0184 Success.
10:38:12 0184 Getting the add-in directory.
10:38:12 0184 Success. The directory is 'C:\Program Files (x86)\vwd group\vwd data analytics XL\'
10:38:12 0184 The 'shadow copy' is disabled.
10:38:12 0184 Creating a new application domain.
10:38:12 0184 Success.
10:38:12 0184 Getting the base directory for the domain.
10:38:12 0184 Success. The directory is 'C:\Program Files (x86)\vwd group\vwd data analytics XL\'.
10:38:12 0184 Searching for the Add-in Express core library.
10:38:12 0184 Success. The 'AddinExpress.MSO.2005.dll' file is found.
10:38:12 0184 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
10:38:12 0184 Assembly identity is 'AddinExpress.MSO.2005'.
10:38:12 0184 Success.
10:38:12 0184 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
10:38:12 0184 Success.
10:38:12 0184 Calling the managed registration procedure (DISPI1686D = 1610743823).
10:38:12 0660 The '/R "C:\Program Files (x86)\vwd group\vwd data analytics XL\adxloader.MarketManager.Ui.Addin.dll"' registry value was created successfully for the 'MarketManager.Ui.Addin.UDFFunctions' class.
10:38:12 0184 Success.
10:38:12 0184 The add-in registration process is completed with HRESULT = 0.


Kind regards
Marco
Posted 04 Feb, 2016 04:50:12 Top
Marco Siebert




Posts: 5
Joined: 2011-12-09
Hi Andrei,

I now found the problem, please close this task. It is not adxregistrator causing the problem, it is another registration of an xla file that causes this issue. In this part some regkeys are searched that do not exist before first startup.

Thanks and kind regards
Marco
Posted 04 Feb, 2016 05:22:12 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thank you Marco!

Please note that installing a per-user thing to Program Files means only admins can do such an install in the generic case. In section Deploying a per-user Office extension via an MSI installer (see the PDF file in the folder {Add-in Express}\Docs on your development PC), we recommend installing per-user Office extensions in a folder within the user profile, e.g. [AppDataFolder].


Andrei Smolin
Add-in Express Team Leader
Posted 04 Feb, 2016 06:53:27 Top