Kommandon för att installera GNU Solfege 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
winget install --id GNU.Solfege -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GNU.Solfege -e --silentwinget uninstall --id GNU.Solfege -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · en-US
solfege-win32-3.23.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-solfege-win32-3.23.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gnu-solfege"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\GNU Solfege_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
$url = 'https://alpha.gnu.org/gnu/solfege/solfege-win32-3.23.4.exe'
$sha256 = '0876E0D5EBF926E1DE399F264C3596F059EE2781CF09F0D6C42E652BF02DFAC7'
$file = Join-Path $env:TEMP 'solfege-win32-3.23.4.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