Kommandoer til at installere DownSample uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
DownSample-Setup-1.0.7.exe /SEgen mappe
DownSample-Setup-1.0.7.exe /S /D=C:\Apps\downsample- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DownSample
- Installationsmappe
- %ProgramFiles%\TAPATCH\DownSample
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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