Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Removing an Addin thru MSI

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Removing an Addin thru MSI

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

"bharat" wrote in message
ups.com...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Removing an Addin thru MSI



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 ***
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing patterns without removing gridlines pennyb9 Excel Discussion (Misc queries) 1 July 11th 07 02:43 AM
VBA Addin Raj Excel Programming 1 March 23rd 05 10:16 AM
Removing Addin Buttons on Toolbars Dan Grindstaff Excel Programming 3 February 17th 04 04:31 PM
Removing an addin from the addin's list dialog Jim Bassett[_2_] Excel Programming 0 January 12th 04 03:11 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM


All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"