Addin not loading for other users of system?

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

Addin not loading for other users of system?
 
Jason Coley




Posts: 272
Joined: 2005-05-26
I have a couple of addins, and both of these addins are marked RegisterForAllUsers=True, but only one of these addins actually loads on other profiles of the same machine. I can't figure out what is different with the two addins.

The addin that doesn't show has another problem, that is if I try to install (register) this on another user I get the error Return Code was: 0x80004005, which I think is just a generic com error. It doens't matter if the users are power users, admins or normal users. Can anyone shed some light on what is happening here. I use the latest vcl adx and delphi 2005 with update 3 installed.

Jason
Posted 05 Jul, 2005 05:45:40 Top
Dmitry Kostochko


Add-in Express team


Posts: 2830
Joined: 2004-04-05
Hi Jason,

Is the add-in that returns the error finally registered successfully? Aren't the ProgIDs or ClassIDs of both add-ins identical? Please look up the HKLM\SOFTWARE\Microsoft\Office\Outlook\Addins registry branch, are your both add-ins there?

Posted 05 Jul, 2005 07:53:15 Top
Jason Coley




Posts: 272
Joined: 2005-05-26
they are both listed under the HKLM entries

Jason
Posted 07 Jul, 2005 05:15:15 Top
Dmitry Kostochko


Add-in Express team


Posts: 2830
Joined: 2004-04-05
Hi Jason,

What value do you see in the LoadBehavior registry key? Also please check the Disabled Items list (Outlook -> Help -> About Microsoft Office Outlook -> Disabled Items), may be for some reason (an exception) one of your add-in got there.

Posted 07 Jul, 2005 05:36:26 Top
Jason Coley




Posts: 272
Joined: 2005-05-26
not disabled in outlooks disabled items. Load Behaviour for both addins is 3
Posted 10 Jul, 2005 00:30:24 Top
Dmitry Kostochko


Add-in Express team


Posts: 2830
Joined: 2004-04-05
Hi Jason,

In this case everything should work. Let's try to test two simple COM Add-ins (see the link below) on your PCs. Please let me know about the results.

http://www.add-in-express.com/projects/adx-ol-all-users.zip
Posted 11 Jul, 2005 06:41:54 Top
Jason Coley




Posts: 272
Joined: 2005-05-26
well no that didn't work either, neither addin worked.

I installed them using an account on my XP SP2 box that has admin privledges, using regsvr32. I then logged out of the user account, logged into another account of the xp box and the buttons were not there in Outlook. I then logged into a roaming profile account of the domain and the buttons were still not there. logged back into my normal account (the admin account) that is also a domain account and the buttons were there.

any other suggestions?

Jason
Posted 18 Jul, 2005 00:00:22 Top
Dmitry Kostochko


Add-in Express team


Posts: 2830
Joined: 2004-04-05
Hi Jason,

any other suggestions?

Does the restricted user (another account) have the Read & Execute permissions for the folder with the add-in?
Posted 18 Jul, 2005 07:32:27 Top
David BARGAUD




Posts: 2
Joined: 2005-11-08
Hello,

I've a similar problem with an add-in I've made for word 2003.
I don't understand, I checked out the registries entry in HKLM an dthey seems correct but the add-in did not work for users which don't have administrator's rights.

I've checked the RegisterForAllUsers but it does not seem to work.
I've allready checked the permissions on the folder containing the add-in and it looks ok ( read & execute ).

Any suggestions ?

David
Posted 08 Nov, 2005 10:56:38 Top
Dmitry Kostochko


Add-in Express team


Posts: 2830
Joined: 2004-04-05
Hi David,

Did you set the RegisterForAllUsers property to true? Do you have the OnAddInInitialize or OnAddInStartupComplete event handlers in your code? Try to create a simple test add-in and register it. Also, make sure the permissions for the add-in itself are the same as the folder permissions.

Posted 08 Nov, 2005 11:45:17 Top