我试图使用Powershell在Windows上实现以下内容:
基本上说:
不是从根文件夹运行setup.exe,而是从\ bin \ win64 \ setup.exe文件夹执行setup.exe
但这对我不起作用。
答案 0 :(得分:1)
由于我使用的是Powershell。您可以执行以下操作来强制脚本等待安装完成:
&setup.exe -inputfile .\input_file.txt | Out-Null
以下网站是我找到此信息的地方:
http://www.noelpulis.com/fix-powershell-does-not-wait-before-starting-the-next-command/