Kommandon för att installera ChunkyMonkey 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 Pwlot.ChunkyMonkey -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pwlot.ChunkyMonkey -e --silentwinget uninstall --id Pwlot.ChunkyMonkey -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
ChunkyMonkeySetup.exe /VERYSILENT /NORESTARTEgen mapp
ChunkyMonkeySetup.exe /VERYSILENT /NORESTART /DIR="C:\Apps\chunkymonkey"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-chunkymonkey.ps1
$url = 'https://github.com/pwlot/ChunkyMonkey/releases/download/v0.9.7/ChunkyMonkeySetup.exe'
$sha256 = '1D18777338466DF0F056A21CA0BE6C98CFB518045E0F7D89A0A2EE94F1038ED5'
$file = Join-Path $env:TEMP 'ChunkyMonkeySetup.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 /NORESTART' -Wait