Kommandon för att installera QuickGamma 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 EberhardWerle.QuickGamma -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EberhardWerle.QuickGamma -e --silentwinget uninstall --id EberhardWerle.QuickGamma -e --silentPer installationsfil
32-bitars · EXE (Inno Setup)
Tyst installation
QuickGammaV4100EN.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
QuickGammaV4100EN.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\quickgamma"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-quickgamma.ps1
$url = 'https://quickgamma.de/QuickGammaV4100EN.exe'
$sha256 = 'D686F8DA3AFCA68D22EE754B80F6D4B64D9CFB711F9182A0BF5720A984F807ED'
$file = Join-Path $env:TEMP 'QuickGammaV4100EN.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