1

I've built a class library and registered it for com access using visual studio build options. This library will be accessed by excel VBA. How do I create an MSI to instal this on another computer that will be using the same excel file?

Behrooz Karjoo
  • 4,250
  • 10
  • 38
  • 48

1 Answers1

0

MSI can get the job done. Right-click "File System on Target Machine", Add, GAC. Right-click that added folder, Add, Project Output. That ensures the assembly is gac-ed. It can also register the assembly like Regasm.exe does. Set the Register property of the project output reference to vsdrpCOM.

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

Community
  • 1
  • 1
Damith
  • 62,401
  • 13
  • 102
  • 153