Search code examples
azure-devopswindows-installerazure-pipelines-build-taskazure-pipelines-release-pipeline

Install MSI in VSTS Release


We package our software to MSI files (using Wix). We use VSTS for Builds and Releases.

Is there a standard way to deploy MSI file as part of the Release?

Yes, I can run msiexec /i ... as PowerShell or batch script. But we would need a few other things, for example checking exit code, uploading install log file back to VSTS Release or analysing error message, etc.

This all sounds like quite common thing people would like to do, but there is no such standard VSTS step \ extension for this.


Solution

  • I ended up packaging VSTS extension for this:
    https://marketplace.visualstudio.com/items?itemName=ivanboyko.vsts-deploy-MSI

    Source code is open-sourced:
    https://github.com/IvanBoyko/vsts-install-MSI.git

    Adding step from Task catalog to Install MSI file