Removing an Addin thru MSI

B

bharat

Hello everybody,

I've an Excel application where in i have all my code in an
addin and once i run my installer this addin is linked to excel
and for my Addin i've an Addin script which basically creates an
entry in the registry and this VBS file is being called in the
installer package
now when i want to remove the addin while uninstalling it has
become a problem

what is happening while uninstalling is :

My Addin file is being removed from its base location
so when i try to open it from the next time, it says the .xla
file is not found
but in the addin manager add in is still remaining
and also the entry in the registry is not being deleted from the
registry

what has to happen is :

As soon as I uninstall the application
I want to remove the registry entry as well as the name of my add
in the addin manager
I've to write a VBS file which will do these two things and has to
link the same with my installer package

how do I do that ..????

help needed
 
R

Robin Hammond

Consensus opinion appears to be that you will have to go the manual route,
or write some custom code using api calls to remove the specific excel key.
there is no way to access that key direct from Excel without the use of the
API, and no method to remove the addin in the excel object model.

Silly isn't it.

Robin Hammond
www.enhanceddatasystems.com
 
B

bharat gangavarapu

Hi Robin

Thnx for ur qik response
but frankly speaking i'd never worked on creating the API's
can you please help me in letting me know how do i do tat in a more
elaborated fashion

waiting for your reply

regards,
Bharat

*** Sent via Developersdex http://www.developersdex.com ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top