cancel
Showing results for 
Search instead for 
Did you mean: 

Office Integration Plugin fails without adminstrator rights

nicof
Champ in-the-making
Champ in-the-making
Hello everyone,

I am currently evaluating Alfcresco for the use in our organisation. One of the main reasons making it attractive is the great MS Office integration. This is, where I am still facing problems.

1. The plugin only works with administrative rights.

After having installed the plugins with the administrator-account (erveryone shall use the plugin), the Alfresco-button appears in the Word. But unless I start Word with administrative rights, it is out of function.

2. Word's fine, Excel opens documents in the Internet Explorer

After starting the respective programs as administrator, the plugin works fine in Word. But after opening a file in Excel, it won't load into the sheet but open the IE (not my standard browser), displaying it there. What can be done to fix this?


I really appreciate Alfresco and am looking forward to helpful answers.


Best regards


Nico
11 REPLIES 11

fschnell
Champ in-the-making
Champ in-the-making
Hello,

we had exactly the same problem. Installed as admin, check flag 'install for all' and result, only the administrator, or better the person who installed it, can use.

The problem is that there are 2 registry keys with each five values which are created inside the HKCU hive. They are only created for the account which installed the plugin, but for no-one else, whether you select the option or not. To fix this you need to manipulate the registry.

================
IMPORTANT NOTE: Only do this if you are experienced in manipulating the registry !!! Worst case, nothing on this computer works anymore ! Be warned.
================

Just search the registry when logged in as the user who installed the plugin for the keyword AlfrescoWord2003 in the HKCU hive. You should find it within
HKCU\Software\Alfresco  and  HKCU\Software\Microsoft\Office\Office11\…\AddIns\   Each of them should have 5 values listed.

In principle you need to copy these to the registry of the user for which things fail. Make sure to reset the UserID and Password values to nothing before doing so.

This works for us and I scripted it and started testing it today. It is meant to become part of the plugin installation process.

Good luck
Frank

mikeh
Star Contributor
Star Contributor
Hi Frank

You should only need the Microsoft Office keys - the Alfresco ones will be created when the add-in is first run. The advantage of copying the Alfresco ones is that the URLs will be pre-populated.

By the way, the reason this is all a bit confused is that Microsoft insist on local admin rights to install certain .NET Programmability pieces for Office and to register our components with the registry. However, in order for us to be compatible with Office 2007, the add-in keys have to be in HKCU - the Office 2003-compatible ones in HKLM are ignored completely. This precludes the "install once" solution we'd hoped for. Apparently this is "by design"  :roll:  The official Microsoft response(on the MSDN forums) to people like Alfresco hitting these problems is to "push the config out using Group Policy distribution". The simpler way is to copy the registry keys!

Cheers,
Mike