Kommandon för att installera PingPlotter 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 Pingman.PingPlotter -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pingman.PingPlotter -e --silentwinget uninstall --id Pingman.PingPlotter -e --silentPer installationsfil
32-bitars · EXE (NSIS) · en-US
Tyst installation
pingplotter_install.exe /quietEgen mapp
pingplotter_install.exe /quiet /D=C:\Apps\pingplotterPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pingplotter.ps1
$url = 'https://www.pingplotter.com/downloads/pingplotter_install.exe'
$sha256 = '2E3095F87B97EEB889BF5833FFBB6494CA8571756B5A3EABB2E546D6CCCE6CFF'
$file = Join-Path $env:TEMP 'pingplotter_install.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 '/quiet' -Wait