用于免交互安装ReadyAPI TestEngine、卸载以及在部署工具中检测安装状态的命令。只列出确定可用的命令:来自清单文件,或来自安装程序技术的官方默认参数。
相关教程: 静默安装参数大全:MSI、NSIS、Inno Setup · 用注册表或PowerShell卸载程序
使用winget
PowerShell
winget install --id SmartBear.ReadyAPITestEngine -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SmartBear.ReadyAPITestEngine -e --silentwinget uninstall --id SmartBear.ReadyAPITestEngine -e --silent按安装包
64位 · EXE · 所有用户
静默安装
ReadyAPITestEngine-x64-1.36.1.exe -q -Dinstall4j.suppressUnattendedReboot=true- 卸载注册表项
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\1281-1086-3162-5984
PowerShell:下载、校验、安装
下载官方文件,校验SHA256后静默安装。
install-readyapi-testengine.ps1
$url = 'https://dl.eviware.com/testengine/1.36.1/ReadyAPITestEngine-x64-1.36.1.exe'
$sha256 = 'D08C0FA7A61091160AC22AB38AA92FA50984375BD425D149058D3C54D1021E36'
$file = Join-Path $env:TEMP 'ReadyAPITestEngine-x64-1.36.1.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '-q -Dinstall4j.suppressUnattendedReboot=true' -Wait