Word add-in not loading for non administrator users

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

Word add-in not loading for non administrator users
 
Jude Milstan




Posts: 15
Joined: 2014-04-03
Hi all,

We crated a word add-in using add-in express. It is working fine for administrator users but some of non admin users can't see word add-in even though admin enable the add-in (only some of computers).non admin users can see add-in with in disabled item on ms word but they can't enabled it.

Properties of Add-in
RegisterForAllUsers=true;

adxregistrator.exe: /privileges=admin



Register log

Add-in Express Registrator Log File: 04/02/2014 17:58:39

Installation directory: C:\CAMMS\CAMMS Insights for Word\
Loader version: 6.4.3056.0
Operating System: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Process Owner: Administrator
Command Line: "C:\CAMMS\CAMMS Insights for Word\adxregistrator.exe" /install="CAT.WordAddIn.dll" /privileges=admin
Run 'As Administrator': Yes
Process Elevated: No
Integrity Level: Untrusted
UAC (User Account Control): Off
--------------------------------------------------------------
17:58:39 Starting the add-in registration process.
17:58:39 Loading mscoree.dll
17:58:39 Success.
17:58:39 .NET Framework installation directory:
17:58:39 The latest version of .NET Framework: 'v4.0.30319'
17:58:39 Loading CLR: v4.0.30319.
17:58:39 Calling CLRCreateInstance method.
17:58:39 Success.
17:58:39 Calling GetRuntime method.
17:58:39 Success.
17:58:39 Calling GetInterface method.
17:58:39 Calling GetInterface method for the CorRuntimeHost interface.
17:58:39 Success.
17:58:39 Starting CLR...
17:58:39 Success.
17:58:39 The CLR v4.0.30319 has been initialized successfully.
17:58:39 Creating a new domain setup.
17:58:39 Success.
17:58:39 Getting the add-in directory.
17:58:39 Success. The directory is 'C:\CAMMS\CAMMS Insights for Word\'
17:58:39 The 'shadow copy' is disabled.
17:58:39 Creating a new application domain.
17:58:40 Success.
17:58:40 Getting the base directory for the domain.
17:58:40 Success. The directory is 'C:\CAMMS\CAMMS Insights for Word\'.
17:58:40 Searching for the Add-in Express core library.
17:58:40 Success. The 'AddinExpress.MSO.2005.dll' file is found.
17:58:40 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
17:58:40 Assembly identity is 'AddinExpress.MSO.2005'.
17:58:40 Success.
17:58:40 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
17:58:40 Success.
17:58:40 Calling the managed registration procedure.
17:58:40 1644 Connecting to the application domain of the Add-in Express loader.
17:58:40 1644 Success.
17:58:40 1644 Loading the 'cat.wordaddin.dll' assembly.
17:58:40 1644 Success.
17:58:40 1644 Registering the 'cat.wordaddin.dll' assembly (administrator).
17:58:40 1644 The ' cat.wordaddin.dll' assembly has been registered successfully.
17:58:40 Success.
17:58:40 The add-in registration process is completed with HRESULT = 0.

adxloader file


Startup directory: C:\CAMMS\CAMMS Insights for Word\
Loader version: 6.4.3056.0
Operating System: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Untrusted
UAC (User Account Control): Off
------------------------------------------------------------------------
15:52:53 2688 3080 Starting the add-in registration process.
15:52:53 2688 3080 Loading mscoree.dll
15:52:53 2688 3080 Getting the latest CLR version.
15:52:53 2688 3080 The latest CLR version is 'v4.0.30319'.
15:52:53 2688 3080 Loading CLR: v4.0.30319.
15:52:53 2688 3080 Calling CLRCreateInstance method.
15:52:53 2688 3080 Success.
15:52:53 2688 3080 Calling GetRuntime method.
15:52:53 2688 3080 Success.
15:52:53 2688 3080 Calling GetInterface method.
15:52:53 2688 3080 Calling GetInterface method for the CorRuntimeHost interface.
15:52:53 2688 3080 Success.
15:52:53 2688 3080 Starting CLR...
15:52:53 2688 3080 Success.
15:52:53 2688 3080 The CLR v4.0.30319 has been initialized successfully.
15:52:53 2688 3080 Creating a new domain setup.
15:52:53 2688 3080 Success.
15:52:53 2688 3080 Getting the add-in directory.
15:52:53 2688 3080 Success. The directory is 'C:\CAMMS\CAMMS Insights for Word\'
15:52:53 2688 3080 The configuration file is 'C:\CAMMS\CAMMS Insights for Word\App.config'
15:52:53 2688 3080 The 'shadow copy' is disabled.
15:52:53 2688 3080 Creating a new application domain.
15:52:53 2688 3080 Success.
15:52:53 2688 3080 Getting the base directory for the domain.
15:52:53 2688 3080 Success. The directory is 'C:\CAMMS\CAMMS Insights for Word\'.
15:52:53 2688 3080 Searching for the Add-in Express core library.
15:52:53 2688 3080 Success. The 'AddinExpress.MSO.2005.dll' file has been found.
15:52:53 2688 3080 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
15:52:53 2688 3080 Assembly identity is 'AddinExpress.MSO.2005'.
15:52:54 2688 3080 Success.
15:52:54 2688 3080 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
15:52:54 2688 3080 Unknown name.

Can you please provide a solution for this

thanks
Posted 03 Apr, 2014 05:16:16 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Jude,

I suppose that you use the latest Add-in Express version. If so, I suggest that you use the latest versions of adxregistrator.exe and adxloader.dll, adxloader64.dll.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Apr, 2014 06:21:10 Top
Jude Milstan




Posts: 15
Joined: 2014-04-03
Hello Andrei,

We tried with latest version of adxloader.dll, adxloader64.dll but we got same result. When we created word add-in setup project, we exactly followed following blog "//www.add-in-express.com/docs/net-msi-setup-project.php"

Thanks
Posted 03 Apr, 2014 06:38:51 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Jude,

I've noticed that the adxloader.log describes registering an add-in, not loading it.

I suggest that you follow instructions in the manual, please see the section "Deploying a per-machine Office extension via an MSI installer" in the PDF file in the folder {Add-in Express}\Docs on your development PC. You can download the most recent version of the Developer's Guide at http://www.add-in-express.com/downloads/documentation.php.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Apr, 2014 06:52:31 Top
Jude Milstan




Posts: 15
Joined: 2014-04-03
Hi Andrei
We exactly followed the pdf above you mentioned. it works for almost all machine except one of our client machine.

thanks
Posted 03 Apr, 2014 22:35:50 Top
Jude Milstan




Posts: 15
Joined: 2014-04-03
Hi Andrei,
One more thing, client having a XP machine

thanks
Posted 03 Apr, 2014 23:08:35 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Can I look into the log files?


Andrei Smolin
Add-in Express Team Leader
Posted 04 Apr, 2014 04:15:16 Top
Jude Milstan




Posts: 15
Joined: 2014-04-03
I already added log files.
Posted 04 Apr, 2014 04:47:00 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
These are old files; they show that you use an old adxregistrator.exe and adxloader.dll. In addition, the adxloader.log showed that you registered the add-in, not loaded it.

Can you please provide new files that show that you use new versions of adxregistrator.exe and adxloader.dll? And since you followed instructions in the manual I expect that adxloader.log now shows how the add-in is loaded.

Please post new files. I cannot suggest any further moves looking into the old files. If you prefer, you can send the files to the support email address, please find it in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 04 Apr, 2014 04:59:33 Top