[英]Installing any exe without having manual intervention using powershell
How could i install any ".exe" without having any user action, means wherever the user interaction needed it should continue with the default selection (eg: license agreement) using powershell 我如何在不执行任何用户操作的情况下安装任何“ .exe”,这意味着无论用户需要什么交互,都应使用Powershell继续进行默认选择(例如:许可协议)
any reference or links will help 任何参考或链接将有所帮助
[Discussed Below: Mostly wanted to install visual studio and visual studio related update] [下面讨论:主要是想安装Visual Studio和与Visual Studio相关的更新]
如果您是在谈论Visual Studio和一般的Microsoft产品,则应查找无人参与的安装,例如: 如何:创建和运行Visual Studio的无人参与安装 。
For Visual Studio below command works: 对于Visual Studio,以下命令有效:
Start-Process -FilePath "C:\Installs\VS2013\vspremium.exe" -ArgumentList "/adminfile C:\Installs\VS2013\AdminDeployment.xml /passive /norestart" -Wait -NoNewWindow -PassThru
Also in the AdminDeployment.xml file you can make NoWeb="yes", it works otherwise as well. 另外,在AdminDeployment.xml文件中,您可以使NoWeb =“ yes”,否则它也可以正常工作。
<BundleCustomizations TargetDir="default" NoWeb="yes"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.