Search code examples
windows-installercontinuous-deployment

How to CI-CD a windows installer? I want the deployment to place the .msi in a specific location


I want to create CI-CD pipeline in Azure DevOps for a Winform application which has an installer. I want my CD to put the .msi / .exe in the specified location / drop folder with the latest after every check-in.


Solution

  • The WiX Toolset was tailor-made for this scenario. Add a .wixproj to your solution, write the installation code and it will just work in Azure DevOps. It even works in Hosted Azure DevOps builds because the WiX Toolset is part of their images.

    The WiX Toolset is powerful and you can read more about it in the tutorial.