Commands for installing kgoldrunner without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id KDE.KGoldrunner -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.KGoldrunner -e --silentwinget uninstall --id KDE.KGoldrunner -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe /SCustom folder
kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\kgoldrunner- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\kgoldrunner
64-bit · EXE (NSIS) · All users
Silent install
kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe /SCustom folder
kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\kgoldrunner- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\kgoldrunner
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-kgoldrunner.ps1
$url = 'https://cdn.kde.org/ci-builds/games/kgoldrunner/master/windows/kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe'
$sha256 = 'F7A34CD5391A9A90F92A296D5FB56B6617C0D7F1E2C30EAAC07FCF4BC179662D'
$file = Join-Path $env:TEMP 'kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.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-kgoldrunner.ps1
$url = 'https://cdn.kde.org/ci-builds/games/kgoldrunner/master/windows/kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.exe'
$sha256 = 'F7A34CD5391A9A90F92A296D5FB56B6617C0D7F1E2C30EAAC07FCF4BC179662D'
$file = Join-Path $env:TEMP 'kgoldrunner-master-1200-windows-cl-msvc2022-x86_64.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