powershell下哪个才能正确的安装exe文件?

发布时间 2023-04-15 18:09:08作者: smile-you-me
Start-Process -FilePath "D:\360Downloads\software\WPS-Office_11.1.0.13703.exe" -Verb runAs -ArgumentList '/s','/v"/qn"'

Start-Process -FilePath "D:\360Downloads\software\WPS-Office_11.1.0.13703.exe" -ArgumentList "/s /v/qn"

Start-Process -Wait -FilePath "D:\360Downloads\software\WPS-Office_11.1.0.13703.exe" -ArgumentList "/S" -PassThru




# 下面这个也是一直报错,win下的工具咋这么难用
cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319

.\InstallUtil.exe  "D:\360Downloads\software\Xshell_5.0.0.37_setup.1459931786.exe" /InstallStateDir="D:\360Downloads\software_install\xshell5-1"  /LogToConsole="true"