powershellazureazure-devopsazure-vm-role

How to deploy an msi from visual studio online to azure vm?


I have a build definition on visual studio online which creates an msi installation package using WiX.

How can I automatically deploy the msi package from VSO build agent to Azure VM after the build completes successfully?

Note: I prefer to use a post-build batch or powershell script as part of the build process. The script should copy the msi to the vm and install it.


Solution

  • You should use Release Management Online. It comes with VSO and allows you to easily orchestrate installing an MSI on any Azure server.

    http://nakedalm.com/building-release-pipeline-release-management-visual-studio-2013/

    Microsoft just added RM in VSO and its simple to use. I setup an end to end web app deployment, buy as its just a PowerShell to do the install an MSI would be trivial. RM takes care of getting all of the bits to the right spot...

    http://nakedalm.com/create-release-management-pipeline-professional-developers/

    Honestly, it sounds hard, but is much easier than trying to do it all yourself.