Polecenia do instalacji programu ReadyAPI bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id SmartBear.ReadyAPI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SmartBear.ReadyAPI -e --silentwinget uninstall --id SmartBear.ReadyAPI -e --silentWedług instalatora
64-bit · EXE · Wszyscy użytkownicy
Cicha instalacja
ReadyAPI-x64-4.3.0.exe -q -Dinstall4j.suppressUnattendedReboot=true- Klucz odinstalowania w rejestrze
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\3080-8797-1984-6034
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-readyapi.ps1
$url = 'https://dl.eviware.com/ready-api/4.3.0/ReadyAPI-x64-4.3.0.exe'
$sha256 = '784F4C4E5AABA3A2E3E28343F7AF65A110113BE00B9696814B1EE1FAB4BAED21'
$file = Join-Path $env:TEMP 'ReadyAPI-x64-4.3.0.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