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

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"

.
.
.
.
游走在各发行版间老司机群:905201396
不要嫌啰嗦的新手群:756805267
Debian适应群:912567610

posted @ 2023-04-15 18:02  e-8bit  阅读(95)  评论(0编辑  收藏  举报