This project has moved and is read-only. For the latest updates, please go here.

NetOffice Ribbon Add-in Deployment - Create an exe installer

Aug 19, 2012 at 7:23 AM

I would like to create an exe installer that installs the Add-in I created with NetOffice/#Develop on any computer with Excel and the .NET framework. I used regasm [file] /regfile:[outputpath] to create a .reg file. I was surprised to find that there are no references to the specific location of the dll's in the .reg file. How does Excel know where the .dll's are stored? Does anyone have experience create an exe installer?

My plan was to use IExpress.exe to package the needed dll's and supply a .INF file (converted from the .reg using Reg2Inf). I'm not sure how to let Excel know, though, where my dll's are. Are there any other suggestions to creating an exe installer? The reason I'd like to set it up as a .exe is so i can package all of the required dll's into the installer. I saw this discussion, but it's over my head.

Thanks for the help!

Aug 19, 2012 at 7:29 AM

Does this discussion apply to my situation I've never heard of shimming, but I'm new to COM assemblies and .NET Office Add-ins for that matter. Any help is greatly appreciated.

Aug 19, 2012 at 3:11 PM

the easiest way is to create an .msi package. i dont know its supported from #Develop but an .msi deployment example project is available in the download section. you have to call regasm with the /codebase option to set the specific path. as next step you to define the COM Addin registration section. i create sample .reg file for you in the download section: