MatLab静默安装等待下一步,直到安装完成

时间:2020-07-13 20:20:42

标签: matlab

我试图使用Powershell在Windows上实现以下内容:

https://www.mathworks.com/matlabcentral/answers/412882-silent-install-wait-for-next-action-until-setup-is-finished

基本上说:

不是从根文件夹运行setup.exe,而是从\ bin \ win64 \ setup.exe文件夹执行setup.exe

但这对我不起作用。

1 个答案:

答案 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/

相关问题