*Goal*
I am trying to install BizTalk 2016 onto to Hyper-V image using Packer, following the model used but the Microsoft Azure Devops Build Agents <https://github.com/Microsoft/azure-pipelines-image-generation>. *Issue* I have created a custom PowerShell provisioner script that installs the product silently and works without issues from a PowerShell prompt, but when it is runs within a Packer process the download of the files required fails. *Note:* that in the same Packer process I am successfully downloading and installing VS2015 and other tools, so there is no fundamental network issue. *Questions* - Why should I get a different behavior running a provisioner script from a PowerShell from a prompt, as opposed to in the Packer image creation process? - And that can I do to fix this difference? *What I have tried* As there is no public 'eval' installer ISO/MSI for BizTalk 2016 I have a ZIP of the developer edition media. - I first tried to place this on a web site (that required no authentication), but the download failed with all three PowerShell download methods (cmdlet, webclient and BITS). All these transfer methods worked correctly if the script was run from a command prompt, but failed if run within a Packer image creation process. - I moved the ZIP to azure storage and accessed it as a remote drive and this worked, I was hence able to unZIP the file and run the Setup.exe - However the setup requires the BTSRedist.cab, a download usually done by the installer, which failed when running in a Packer image creation, but works fine if the same script is run from a command prompt. *Summary* I have been battling against this one for a while so any suggestion would be useful. I know I could make sure all the CABs are in my ZIP file but I would like to know why the download fails within the Packer process for this script but not for other provisioners -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/86f3e8c3-8f6e-4115-ab25-d5d53e0480de%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
