Scripting Question

Removal of Excel add-in and application Ribbon Excel 2010

09/08/2015 2940 views
Hi All,

Wondering if any body can help. I have an application that installs an excel add-in and custom ribbon. By default the application runs an active setup to install the add-in and Ribbon on all user profiles, however when i try and remove the application it works fine for the current logged in user, however if i log in with any other user Excel complains that that xla add-in and location of the ribbon cannot be found.

If you manually turn this options off inside Excel the issues goes away.

I'm trying to find out if anybody has a scrip that might be able to help me to remove this add-in and custom ribbon from all local profiles on the machine?

I'm using Win 7 32 bit and Office 2010.

0 Comments   [ + ] Show comments


Community Chosen Answer

Create a VBScript to remove AddIn related keys from HKCU,
keep that VBScript in it's own component under some common location like C:\Windows\RemoveMyAddIn\ 
Make it as permanent component
Create an ActiveSetup key during uninstallation and call the above mentioned VBScript via this Active Setup
Answered 09/11/2015 by: jagadeish
Red Belt

All Answers

There's an excellent VBS here on IT Ninja by Captain Planet which installs & uninstalls XL add-ins.

As for the ribbon, I imagine that it's status is stored in HKCU, too so it's just a question of capturing what changes when it's removed and adding that to your uninstall 'package'.
Answered 09/08/2015 by: anonymous_9363
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ