+ Reply to Thread
Results 1 to 5 of 5

Add-in removal

  1. #1
    Rob Hoffy
    Guest

    Add-in removal

    When I uninstall an add-in from excel by uninstalling the application that
    install the add-in when launching excel after the add-in has been removed
    excel says that it can't find the add-in. Is there a way to do this so that
    the a user is not given the error dialog?

  2. #2
    keepITcool
    Guest

    Re: Add-in removal


    Yes:
    by deactivating the addin within the excel instance
    THEN deleting the file.

    OR if excel is NOT running by deleting
    the OPENxxx value in the registry under

    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options




    --
    keepITcool
    | www.XLsupport.com | keepITcool chello nl | amsterdam


    Rob Hoffy wrote :

    > When I uninstall an add-in from excel by uninstalling the application
    > that install the add-in when launching excel after the add-in has
    > been removed excel says that it can't find the add-in. Is there a way
    > to do this so that the a user is not given the error dialog?


  3. #3
    Fredrik Wahlgren
    Guest

    Re: Add-in removal


    "Rob Hoffy" <Rob Hoffy@discussions.microsoft.com> wrote in message
    news:6CEE3F6E-6375-46D3-828B-4CA8A64D58B3@microsoft.com...
    > When I uninstall an add-in from excel by uninstalling the application that
    > install the add-in when launching excel after the add-in has been removed
    > excel says that it can't find the add-in. Is there a way to do this so

    that
    > the a user is not given the error dialog?


    Select Tools|Add-ins. Remove the macro. You will get the same error message.
    Excel will not save the information that the add-in shouldn't be loaded
    until you exit Excel.

    7fredrik



  4. #4
    Rob Hoffy
    Guest

    Re: Add-in removal

    any suggestions of doing this automatically(scripted) since the open value
    could be different on each persons machine and if you delete OPEN1 and only
    have OPEN, OPEN 2, OPEN 3, etc only OPEN will get loaded since it reads them
    sequentially.

    "keepITcool" wrote:

    >
    > Yes:
    > by deactivating the addin within the excel instance
    > THEN deleting the file.
    >
    > OR if excel is NOT running by deleting
    > the OPENxxx value in the registry under
    >
    > HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options
    >
    >
    >
    >
    > --
    > keepITcool
    > | www.XLsupport.com | keepITcool chello nl | amsterdam
    >
    >
    > Rob Hoffy wrote :
    >
    > > When I uninstall an add-in from excel by uninstalling the application
    > > that install the add-in when launching excel after the add-in has
    > > been removed excel says that it can't find the add-in. Is there a way
    > > to do this so that the a user is not given the error dialog?

    >


  5. #5
    keepITcool
    Guest

    Re: Add-in removal



    I am working on a VERY elaborate VBscript...:

    checking if excel running.
    done. with WMI!
    reading registry entries.
    done. enumming with WMI, reading with wscript.shell

    checking files exist.
    done: basic scanning for all installed/opened files found in
    registry...
    todo: checking on duplicate installs in various folders.
    todo: checking for duplicate document titles...

    (since document titles are used as unique index in the addins
    collection, you cannot have 2 entries with the same title..

    options to install/activate/uninstall done.
    options to scan multiple excel versions. done.
    options to open addins as readonly (/R parameter)

    etc..

    deciding which addins to remove or add...
    deciding if and when to kill/rename/move files


    Rebuilding the OPEN series under options...
    That's a very minor problem.


    IF and when I get it working I'll make sure I advertise it


    --
    keepITcool
    | www.XLsupport.com | keepITcool chello nl | amsterdam


    Rob Hoffy wrote :

    > any suggestions of doing this automatically(scripted) since the open
    > value could be different on each persons machine and if you delete
    > OPEN1 and only have OPEN, OPEN 2, OPEN 3, etc only OPEN will get
    > loaded since it reads them sequentially.
    >
    > "keepITcool" wrote:
    >
    > >
    > > Yes:
    > > by deactivating the addin within the excel instance
    > > THEN deleting the file.
    > >
    > > OR if excel is NOT running by deleting
    > > the OPENxxx value in the registry under
    > >
    > > HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options
    > >
    > >
    > >
    > >
    > > --
    > > keepITcool
    > > > www.XLsupport.com | keepITcool chello nl | amsterdam

    > >
    > >
    > > Rob Hoffy wrote :
    > >
    > > > When I uninstall an add-in from excel by uninstalling the
    > > > application that install the add-in when launching excel after
    > > > the add-in has been removed excel says that it can't find the
    > > > add-in. Is there a way to do this so that the a user is not given
    > > > the error dialog?

    > >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1