Kommandon för att installera Pixtale Sync utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id PixtaleLab.PixtaleSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PixtaleLab.PixtaleSync -e --silentwinget uninstall --id PixtaleLab.PixtaleSync -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
pixtale-sync-v2.3.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
pixtale-sync-v2.3.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pixtale-sync"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8A7A2F1-48DF-4A0F-9A4A-6A0E2F7B1D90}_is1
- Installationsmapp
- %ProgramFiles%\Pixtale Sync
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pixtale-sync.ps1
$url = 'https://github.com/pixtalelab/pixtale/releases/download/v2.3.0/pixtale-sync-v2.3.0-windows-x64.exe'
$sha256 = '260959165EEBB12B721B1E7CE8B4C6E79305666F7486E80766E7B021C3A9E635'
$file = Join-Path $env:TEMP 'pixtale-sync-v2.3.0-windows-x64.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