Hi Albert,
Your add-in is most probably being 'Disabled' by Excel. You can check
whether the addin is disabled by pressing the Excel button ('File' in
Excel 2010), then Options -> Add-Ins.
At the bottom of the form, it says 'Manage' with a dropdown box.
Select 'Disabled Items' and "Go..."
You might find something like AddIn.XXXXX there - this is the COM
helper that Excel-DNA registers for the ribbon. The add-in should work
again after you enable everything.
These threads mention similar happenings:
http://groups.google.com/group/exceldna/browse_frm/thread/cd4a3bcc7ee76741
http://groups.google.com/group/exceldna/browse_frm/thread/bd7e921078407241
----
How does this happen?
Excel wraps some operations in a safety check, e.g. when loading your
add-in. If your add-in causes Excel to crash it will detect it, and
would prompt you to disable the add-in in future.
I've had reports of some interaction between Excel-DNA add-ins, so
that one crashing add-in that is disabled would also prevent the
loading of ribbons interfaces from other add-ins. I've not been able
to reproduce this, and don't understand why there would be such
interference between add-ins.
I'm a little worried by your running Regasm (though you asy only on
the uninstall). That's never needed with Excel-DNA, and might cause
some trouble with RTD servers or Custom Task Pane controls if you use
these.
----
Let us know if you your add-in was indeed 'Disabled'.
Regards,
Govert