I've created a program in Visual Studio VB.NET that makes a VSTO com add-in for Excel. I use the Advanced Installer's Wizard for creating a new Office Add-In, and when it comes time to select the Visual Studio program, I select the .sln file.
I have 2 computers: Computer 1 is where my Visual Studio program and files are, and also where my Advanced Installer program is. Computer 2 is a different computer.
After setting up my Advanced Installer project on Computer 1, I press "Build" and then "Run," and it seems to work fine. The program successfully installs a new ribbon in my Excel program that works. However, the add in that Excel is using is in my Visual Studio project file in my personal files: C:/My Folder/Excel_Addin/ExcelAddin/bin/Release/ExcelAddin.dll This folder, of course, is not on any other computer that I would install the program on.
When I try to copy the Setup Files to Computer 2 and run the .msi or the .exe, it seems to install fine, but when I open Excel, the ribbon has not been installed. I open Excel Options, com addins, and try to manually add the .dll that is created in my company name folder by the Advanced Installer package, but it says it's not a valid Office addin.
Any thoughts on what I'm doing wrong?
EDIT: I think I found the problem. During setup, I had accidentally picked Word instead of Excel for the addin.
FOLLOW US
Get the latest news in Application Packaging