Befehle, um Microsoft .NET Runtime 3.1 ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
winget install --id Microsoft.DotNet.Runtime.3_1 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.3_1 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.3_1 -e --silentNach Installer
64-Bit · EXE (WiX Burn)
dotnet-runtime-3.1.32-win-x64.exe /quietmsiexec /x {784973C8-D618-4AC8-97ED-1FD52C5BDF2F} /qn /norestart- MSI-Produktcode
- {784973c8-d618-4ac8-97ed-1fd52c5bdf2f}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{784973c8-d618-4ac8-97ed-1fd52c5bdf2f}
- DisplayVersion
- 3.1.32.31915
ARM64 · EXE (WiX Burn)
dotnet-runtime-3.1.32-win-arm64.exe /quietmsiexec /x {6CC44C43-4785-4357-A07B-8C9A354692EC} /qn /norestart- MSI-Produktcode
- {6cc44c43-4785-4357-a07b-8c9a354692ec}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6cc44c43-4785-4357-a07b-8c9a354692ec}
- DisplayVersion
- 3.1.32.31915
32-Bit · EXE (WiX Burn)
dotnet-runtime-3.1.32-win-x86.exe /quietmsiexec /x {9D5027E4-B04B-4AA9-92FB-1246F97F9CD7} /qn /norestart- MSI-Produktcode
- {9d5027e4-b04b-4aa9-92fb-1246f97f9cd7}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9d5027e4-b04b-4aa9-92fb-1246f97f9cd7}
- DisplayVersion
- 3.1.32.31915
ARM · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-x64.exe'
$sha256 = '4393D2CDACECC096E964EA9761DFD5C336FB002B1B3AE0808E7D2D445E2DEA89'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-win-x64.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 '/quiet' -Wait $url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-arm64.exe'
$sha256 = '44B1DAA5D705411E64F2733000DE2906B4BC655AFF965A5B7E0A0573C7C6ECE2'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-win-arm64.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 '/quiet' -Wait $url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/3.1.32/dotnet-runtime-3.1.32-win-x86.exe'
$sha256 = 'BC735B1A969CD03CBF1D0A70D5F16402E1030F309E5E58CA072307A30F0DF164'
$file = Join-Path $env:TEMP 'dotnet-runtime-3.1.32-win-x86.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 '/quiet' -Wait