Kommandoer til at installere Pingus 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 IngoRuhnke.Pingus -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id IngoRuhnke.Pingus -e --silentwinget uninstall --id IngoRuhnke.Pingus -e --silentPr. installationsfil
32-bit · EXE (NSIS)
Lydløs installation
Pingus-0.7.6.exe /SEgen mappe
Pingus-0.7.6.exe /S /D=C:\Apps\pingusPowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-pingus.ps1
$url = 'https://raw.githubusercontent.com/Pingus/downloads/master/Pingus-0.7.6.exe'
$sha256 = 'F08E45A96A95F293767E7C2DBA98AE3FEEFD3A1D13E5C6461BCC8A111AA9618D'
$file = Join-Path $env:TEMP 'Pingus-0.7.6.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