Uninstalls fails on Terminal Server

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

Uninstalls fails on Terminal Server
Our per user Outlook addin fails to uninstall when other user are running Outlook 
Tim Overton




Posts: 23
Joined: 2015-11-15
Hi Guys,

We have an Outlook addin that installs using Inno script. Its a per user addin that gets installed into the users %localappdata% folder.

For Install - registering the adxloader.dll
In a terminal server environment it works perfectly and only monitors if the user installing the addin is running Outlook and forces the user to close Outlook (with no cancel button - user must close Outlook - another issue).

For Uninstall - unregistering the adxloader.dll
In a terminal server environment it fails, because it checks if any user on the whole server is running outlook and once again forces the user to close outlook which they can't because its being run by another user. The user is then forced to end-task the uninstall from task manager if they don't call us first.

I've searched the forum, how do we control this behavior in a TS environment from the adxloader dll, we have a lot of users on TS servers?

Thanks,
Tim
Posted 15 Nov, 2015 05:00:56 Top
Andrei Smolin


Add-in Express team


Posts: 16746
Joined: 2006-05-11
Hello Tim,

What values do you have in the RegisterForAllUsers property of the add-in module and in the privileges attribute in adxloader.dll.manifest?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Nov, 2015 03:43:32 Top
Tim Overton




Posts: 23
Joined: 2015-11-15
Hi Andrei,

Thank you for the reply.

I have false in the RegisterForAllUsers property of the add-in and in the adxloader.dll.manifest privileges="user".

Any ideas?

Regards,
Tim
Posted 23 Nov, 2015 06:04:26 Top
Andrei Smolin


Add-in Express team


Posts: 16746
Joined: 2006-05-11
Hello Tim,

Please check if the steps listed in section Deploying a per-user Office extension via an MSI installer in the PDF file in the folder {Add-in Express}\Docs on your development PC produce the required result.

Please register the add-in using adxregisterator.exe, not adxloader.dll.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 23 Nov, 2015 06:39:26 Top
Tim Overton




Posts: 23
Joined: 2015-11-15
Thanks Andrei,

On initial testing the adxregisterator.exe allows a terminal server user to install and uninstall without checking what applications other users are running - great! Thanks!
Posted 24 Nov, 2015 04:24:58 Top
Andrei Smolin


Add-in Express team


Posts: 16746
Joined: 2006-05-11
That's great!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Nov, 2015 05:19:06 Top