Polecenia do instalacji programu RiverScript 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 RiverScript.RiverScript -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RiverScript.RiverScript -e --silentwinget uninstall --id RiverScript.RiverScript -e --silentWedług instalatora
64-bit · EXE (NSIS)
Cicha instalacja
riverscript_1.3.2_x64-setup.exe /SWłasny folder
riverscript_1.3.2_x64-setup.exe /S /D=C:\Apps\riverscriptPowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-riverscript.ps1
$url = 'https://downloads.riverscript.com/releases/v1.3.2/riverscript_1.3.2_x64-setup.exe'
$sha256 = 'BC122038A6C7AA29C43929B70316ACA8F765C7446A6353D944C3FE39D13144E6'
$file = Join-Path $env:TEMP 'riverscript_1.3.2_x64-setup.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 '/S' -Wait