0

I have an application that is developed using CommanBar tools. As there are much constraints in that, i have planned to shift to the Ribbon(view designer). I created a project like, File->New Project->Excel 2007->Excel Addin for 2010. Created a sample addin and added a new project to the same solution as I wanted the addin to be added using installer(.msi). I registered the Com Addin in the Registry, but on uninstallation, the files are getting removed only in the registry entry, but not in the MS Excel, the addin still to be remained there. Please help me in this. As I am new to the implementation of Ribbon implementation. I have used winform c# 4.0.

Thanks in advance. the addin still in the MS excel addin tab screenshot for registry entries for the .msi registry entries in regedit

@kiru - the screen shot for the path you mentioned enter image description here

roopini n
  • 503
  • 2
  • 7
  • 29

1 Answers1

0

Check the path from where the addins are been loaded.

  1. Open Excel
  2. Click File => Options => Addins (Tab)
  3. Select COM Add-ins in Manage dropdown box and click Go
  4. Select the addin and you can see the path where it is been loaded.

If it is from bin directory then follow this If you are running your msi on development pc clean your solution every time you test your msi.

Kiru
  • 3,489
  • 1
  • 25
  • 46
  • @kiru- what is this development PC and bin directory? I read that there is something called application manifest and deployment manifest i have no idea on this as I am new.Can you please provide the information on this? – roopini n Oct 29 '13 at 05:12
  • 1
    If I understood your question correctly, you got problem with msi that it doesnot remove the addin. Your Excel still has got addins even after running uninstall. – Kiru Oct 29 '13 at 20:57
  • 1
    Your Excel basically refers to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Excel\Addins or HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Excel\Addins so you have to check these registry entries – Kiru Oct 29 '13 at 21:02
  • @ Kiru, thanks, but I dont have an entry in the 15.0 created, the last version i have in mine is 14.0, and should I make the registry entry to 14.0? Not to default addin path in excel? I will add the screenshot of this again.(My addin is created in excel->TestAddin1) – roopini n Oct 30 '13 at 03:56
  • @Kiru-the other screenshot is the entry is created in the HKEY_LOCAL_MACHINE->WoW3264->Software->Microsoft->Office->Excel->Addin->ExcelAddin1.Connect – roopini n Oct 30 '13 at 04:20
  • Ignore 15.0 I got Office 2013, it should be 14.0 if you are using Office 2010. So when you uninstall using MSI the registry entry stays there. – Kiru Oct 30 '13 at 17:29
  • @Kiru- I made an entry in 14.0 and after uninstall, the entry only goes from the regedit but not from the Excel addin tab in MS Excel. – roopini n Oct 31 '13 at 03:31
  • And also clickOnce is automatically selected... :-( and previously there are no folder named "Addins" in the Excel folder for 14.0(x86).It is installed in wow3264 in local machine. – roopini n Oct 31 '13 at 03:45
  • Please follow the steps given in answer above, you need to find which causes the addin to be loaded in your Excel. Also do search your whole registry for your addin and delete if not required. – Kiru Oct 31 '13 at 10:04
  • @Kiru- No it dint help me after following these steps. – roopini n Nov 05 '13 at 05:05