Kommandon för att installera jdAppStreamEdit 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 JakobDev.jdAppStreamEdit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JakobDev.jdAppStreamEdit -e --silentwinget uninstall --id JakobDev.jdAppStreamEdit -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
download /SEgen mapp
download /S /D=C:\Apps\jdappstreamedit64-bitars · EXE (NSIS) · Alla användare
Tyst installation
download /SEgen mapp
download /S /D=C:\Apps\jdappstreameditPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-jdappstreamedit.ps1
$url = 'https://sourceforge.net/projects/jdappstreamedit/files/9.2/jdAppStreamEdit-9.2-WindowsInstaller.exe/download'
$sha256 = '6DABC225D4455309A65BCD425553590A98A6AD034E7A3959C4C578174ECAA563'
$file = Join-Path $env:TEMP 'download'
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 install-jdappstreamedit.ps1
$url = 'https://sourceforge.net/projects/jdappstreamedit/files/9.2/jdAppStreamEdit-9.2-WindowsInstaller.exe/download'
$sha256 = '6DABC225D4455309A65BCD425553590A98A6AD034E7A3959C4C578174ECAA563'
$file = Join-Path $env:TEMP 'download'
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