/build/static/layout/Breadcrumb_cap_w.png

Excel Addin app

Hi

I'm doing an Excel addin app, where Custom action has been included to add and remove the OPEN key during installation and uninstallation, it is working fine but if the open key is present in the other user and if i'm uninstalling in admin it is removing, and it is remaining in the other user so it throws error everytime when excel is launched.

can anyone help me, how to remove in all the users.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 16 years ago
Red Belt
0
If your installer authorint software doesn't support XL add-ins, you'll need to write some code in a CA. The idea is to loop through the relevant registry entries and find the last 'OPEN' entry. They'll look like this:

OPEN
OPEN1
OPEN2
OPEN3

and so on. Loop through that, add one to the last entry, then create your new entry using that value. Don't forget your uninstall CA: that will need to find out where in the list your add-in is (other add-ins may have been installed), delete it and then requence any that follow.
Posted by: Robo Scripter 16 years ago
Orange Senior Belt
0
Excel add-ins have been and I am sure will be a source of continual problems in multi-user environments. Here is a link to my Previous Excel Add-in Posting on the subject. It is coded for a msi custom action installation but can be easily altered to meet your needs.

The code will add and remove a excel add-in. If you place the remove code in an Active setup that is present on the uninstall then any user logging in will automatically have it removed from their registry

Regards,
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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