Polecenia do instalacji programu ThreadPilot 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 PrimeBuild.ThreadPilot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PrimeBuild.ThreadPilot -e --silentwinget uninstall --id PrimeBuild.ThreadPilot -e --silentWedług instalatora
64-bit · EXE (Inno Setup)
Cicha instalacja
ThreadPilot_v1.7.9_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Własny folder
ThreadPilot_v1.7.9_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\threadpilot"PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-threadpilot.ps1
$url = 'https://github.com/PrimeBuild-pc/ThreadPilot/releases/download/v1.7.9/ThreadPilot_v1.7.9_Setup.exe'
$sha256 = '6421BD1B0D16F66E9FFC3CF7C0ED383E15D399AF599B4533F25BD11F63D7C7AE'
$file = Join-Path $env:TEMP 'ThreadPilot_v1.7.9_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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait