Search code examples
deploymentwindows-installerms-officevstooutlook-addin

Create installer for Office VSTO add-in for deployment system


I have this working Office VSTO add-in, that is installed from the web (download a setup.exe file, that then connects to the hosted .vsto file an gets all the necessary things), however I have a request to wrap it in some sort of installer, so it can be installed on computers, where the users don't have download & install privileges.

They will then use a deployment system, to deploy the add-in on the machines.

What is the best way to achieve this?

Do I have to take the registry paths into consideration? Whether it should be for current user, or local machine? Or that should be taken care of automatically by the MSI installer?

Also, how would updates be delivered?


Solution

  • I recently went through the installation of a VSTO Add In using an MSI. Hopefully this will be of some help to you.

    Assuming you use Visual Studio, use this following guide.

    In terms of Local Machine and Current User – It doesn't matter which you choose, so long as you use the correct registry values.

    If you follow the guide that I have posted you will have everything you need to run the MSI and install successfully.

    If you need any assistance throughout this, get in touch with me in the comments below and I will do my best to help.