Kommandon för att installera kdevelop 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 KDE.KDevelop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.KDevelop -e --silentwinget uninstall --id KDE.KDevelop -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
kdevelop-5.5.0-x64-setup.exe /SEgen mapp
kdevelop-5.5.0-x64-setup.exe /S /D=C:\Apps\kdevelop- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KDevelop
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
kdevelop-5.5.0-x64-setup.exe /SEgen mapp
kdevelop-5.5.0-x64-setup.exe /S /D=C:\Apps\kdevelop- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KDevelop
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-kdevelop.ps1
$url = 'https://download.kde.org/stable/kdevelop/5.5.0/bin/windows/kdevelop-5.5.0-x64-setup.exe'
$sha256 = 'F282C8C798197A79E39692AA8108C5EAD58950258EE85CBAE8CB571196ECDDD2'
$file = Join-Path $env:TEMP 'kdevelop-5.5.0-x64-setup.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 install-kdevelop.ps1
$url = 'https://download.kde.org/stable/kdevelop/5.5.0/bin/windows/kdevelop-5.5.0-x64-setup.exe'
$sha256 = 'F282C8C798197A79E39692AA8108C5EAD58950258EE85CBAE8CB571196ECDDD2'
$file = Join-Path $env:TEMP 'kdevelop-5.5.0-x64-setup.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