Hi, I am using packer with ebs-builder and powershell provisioner to build a Windows Server 2016 image. I am running a silent installer using following powershell command Start-Process "$InstallPath" -ArgumentList "$AnswerFilePath" -Wait -NoNewWindow
When running this command manually the command is exiting without any issue but when running from powershell provisioner in packer the packer build get stuck at this step. I ensured that the variables $InstallPath and $AnswerFilePath and properly set. The reason while I am running installer via Start-Process is because otherwise the installer exist immediately while installation happens in the background. Any idea what could be the issue? Thanks, -Gautam -- 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/f226ad32-279e-4d25-a9a6-67a92fd3fc09%40googlegroups.com.
