Commando’s om DownSample zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id TAPATCH.DownSample -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TAPATCH.DownSample -e --silentwinget uninstall --id TAPATCH.DownSample -e --silentPer installer
64-bits · EXE (NSIS) · Alle gebruikers
Stille installatie
DownSample-Setup-1.0.7.exe /SAndere map
DownSample-Setup-1.0.7.exe /S /D=C:\Apps\downsample- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DownSample
- Installatiemap
- %ProgramFiles%\TAPATCH\DownSample
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-downsample.ps1
$url = 'https://tapatch.com/downloads/DownSample-Setup-1.0.7.exe'
$sha256 = '87281F6FC9F9951F0B1E8662C464A4B5EC75E23CADB7322ECB5186AC9E35977D'
$file = Join-Path $env:TEMP 'DownSample-Setup-1.0.7.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