Reputation: 1516
I've got BizTalk application built(CI) in VSTS. My deployment needs to create .msi file from built Artifacts. I believe, it could be done through PowerShell script task in release pipeline.
Could someone help me with PowerShell script to create msi.
Upvotes: 1
Views: 13059
Reputation: 1474
Have you check BizTalkFactory PowerShell Provider? This adds PowerShell commands to manage BizTalk and there is one to export an application as MSI:
Export-Application -Path MyBizTalkApp -Package Z:\MyPackage.msi
Upvotes: 0
Reputation: 86
PowerShell does not have a built-in MSI creator, but you can use an official Microsoft extension to Visual Studio to do that, it is called Microsoft Visual Studio Installer Projects.
Here is the link to Visual Studio 2015 extension: Microsoft Visual Studio 2015 Installer Projects
And if you are using 2017: Microsoft Visual Studio 2017 Installer Projects
You can then create a Setup Project in your solution.
You can find the documentation here: https://msdn.microsoft.com/en-us/library/19x10e5c(v=vs.100).aspx
Upvotes: 2
Reputation: 11040
Can you use the BizTalk Deployment Framework in you Solution?
That is generally the best way to generate installers for BizTalk based Solutions. Since BTDF itself uses msbuild, automating it is not a issue.
Upvotes: 2