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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 05/29/2007 by: VBScab
Red Belt

Please log in to comment
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,
Answered 05/29/2007 by: Robo Scripter
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity