This project has moved. For the latest updates, please go here.

Excel Addin COM Install

Mar 5, 2016 at 5:37 PM
Edited Mar 6, 2016 at 9:17 AM
Hello,
First off all great software. I have a problem i've created addin that is working on my local computer now i'm tring to create a setup program i follow this link https://msdn.microsoft.com/en-us/library/cc442767.aspx - created registry entries and addin after install is not showing in excel when i add Manifest ( what should i add there as a value ?) entry it is showing in excel but not loading - A runtime error when loading com exception.


also i looked at this http://netoffice.codeplex.com/wikipage?title=Tutorial11_DE_CS with same result. I use vs 2015, office 2013 32-bits and the same setup templates as in this tutorial.
  [COMAddin("Excel DataBridge test", "This Addin ....", 3)]
    [ComVisible(true)]
    [CustomUI("RibbonUI.xml", true), RegistryLocation(RegistrySaveLocation.CurrentUser)]
    [Guid("BA38FD48-47BD-43de-8177-0D067A01B566"), ProgId("DataBridge.Addin")]
    public class Addin : COMAddin
    {

        public Addin()
        {
            this.OnStartupComplete += new OnStartupCompleteEventHandler(Addin_OnStartupComplete);
        }
}
Maybe i'm doing something wrong ?

Any help ?
May 1, 2016 at 12:26 PM
Hi Beczka,

Your post is old so I don't know if you have been able to solve your problem.

I have always used Installshield for setup to install Addin and it always works for me but it should be the same working from Visual Studio.
The problem could be from registry entries.

If you have not been able to solve the problem yet, let me know and I will see how I can offer some help.

Regards.