WiXInstaller icon indicating copy to clipboard operation
WiXInstaller copied to clipboard

Template project for a WiX-based installer for an Excel-DNA add-in

Excel-DNA - WiXInstaller

This is based on a user-contributed template (thank you very much to Lee Zeitz!) for making a WiX-based installer for an Excel-DNA add-in.

Use this project as a template - fork it and update from there. The Test add-in is just as a sample - the add-in project need not be part of the installer solution.

  • You need to install the free “HeatWave” extension for Visual Studio from FireGiant (this guys whosupport WiX) - https://www.firegiant.com/docs/heatwave/. This is developed by the same people who made the WiX toolset, and they also provide some commercial products and support around it, like this VS extension.
  • Make your own fork of this repository
  • Update the information in the ExcelAddInDeploy project:
  • EnglishLoc.wxl - the strings for the installer to be fixed up
  • Product.wxs - set the ProductCode and UpgradeCode to be unique for your add-in, and the other Guids and add-in paths - look for the TODOs in this file
  • Fix the Resources - Banner, Icon end EULA, as required.

Version for making a Local Machine installer using Active Setup

Benoit Patra has created a version of the Excel-DNA WiX installer that uses the Active Setup feature in Windows to install for all users. The repository is here: https://github.com/bpatra/ExcelDNAWixInstallerLM and a very detailed write-up here: http://benoitpatra.com/2014/07/26/a-sample-wix-installer-using-the-activesetup-feature/

Any help to merge the installers, making the per-user or per-machine installations an installation option, would be greatly appreciated.