Kommandon för att installera PureSync 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 JumpingBytes.PureSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JumpingBytes.PureSync -e --silentwinget uninstall --id JumpingBytes.PureSync -e --silentPer installationsfil
32-bitars · EXE · Alla användare
Tyst installation
PureSyncInst.exe /exenoui /qn- Installationsmapp
- %ProgramFiles(x86)%\Jumping Bytes\PureSync
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-puresync.ps1
$url = 'https://www.jumpingbytes.com/down/PureSyncInst.exe'
$sha256 = '30493BDB89113DE9DE1344B880CD18E4904CCA24083E42DC2DBFD24E5330CC7C'
$file = Join-Path $env:TEMP 'PureSyncInst.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 '/exenoui /qn' -Wait