Install Add-In for ALL users, not working

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

Install Add-In for ALL users, not working
 
Sanjay Pant




Posts: 12
Joined: 2019-07-01
Hi All,

I am having office addin which works on single user install, but when I am doing on environment with Multiple users, I install from admin it works fine for admin and install path is in program files. But when I login with other user addin is not loaded, I can see from application it is disabled list.

I have already set RegisterForALLUsers in addinModule, and created installer project using addin-express which also have InstallAllUser true.


on User account I see addin is disabled and location is shown as as D:\adxloader64.dll how? in admin it is correct c:\program Files(x86)\....


I am having issue on deployment so any help will be really appreciated.


Regards
Sanjay
Regards
Sanjay
Posted 09 Aug, 2019 04:12:39 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Sanjay,

Thank you for the detailed description.

I think something is wrong with your installation project. Have you tested it on your machine with different user accounts? Also, please read the Troubleshooting (page 367) chapter of the Add-in Express documentation, hope it will be useful.
Posted 09 Aug, 2019 09:05:43 Top
Sanjay Pant




Posts: 12
Joined: 2019-07-01
Hi Dmitry

Thanks for you response, I have checked page 367, yes I am testing with different user on my machine, I generated installation project using the addinexpress and no additional changes yet.

have also verify logs file but nothing there all success, even for confirming permission issue I have try installing it in D drive created a folder given permission to everyone still same issue the other user addin is disabled and location is picked from D:\adxloader64.dll.

not sure what I am missing here, but no error in logs or anywhere making it hard to identify what is wrong.
Regards
Sanjay
Posted 12 Aug, 2019 00:05:14 Top
Sanjay Pant




Posts: 12
Joined: 2019-07-01
Hi Dmitry

I finally figure out cause, when I did install I did per user install, but later I had per machine admin install.
When installing, it created registry entry in HKCR under CLSID for addmodule ID, when uninstall it remove that entry for admin but leave for other user, and when reinstall it didn't update those entry correctly for rest user default path for rest users remain invalid causing this issue.

Either have to manually edit or remove those entry from other user to make it work, is there any better way to make sure it always either remove all entry on uninstall or update all reg entry for other user.
Regards
Sanjay
Posted 12 Aug, 2019 02:35:59 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Sanjay,

Thank you for the additional details.
I am afraid that you'll have to uninstall all per-user add-ins before installing the per-machine one.
Posted 12 Aug, 2019 03:16:10 Top