熱門: 資料更新於2026年11月7日

軟體分類

網路軟體1,377
通訊社群323
影音軟體913
繪圖與影像549
辦公軟體1,136
開發工具3,175
AI工具552
安全與隱私397
系統工具3,156
遊戲532
教育與科學239
網路與IT291

Microsoft .NET Runtime 7.0靜默安裝與解除安裝參數

.NET is a free, cross-platform, open-source developer platform for building many different types of applications.

免互動安裝Microsoft .NET Runtime 7.0、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id Microsoft.DotNet.Runtime.7 -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Microsoft.DotNet.Runtime.7 -e --silent
winget uninstall --id Microsoft.DotNet.Runtime.7 -e --silent

依安裝檔

64位元 · EXE(WiX Burn)

靜默安裝dotnet-runtime-7.0.20-win-x64.exe /quiet
解除安裝msiexec /x {146DFB6E-5AED-4C9B-BBAF-7532CE9E3691} /qn /norestart
MSI產品代碼
{146dfb6e-5aed-4c9b-bbaf-7532ce9e3691}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{146dfb6e-5aed-4c9b-bbaf-7532ce9e3691}
DisplayVersion
7.0.20.33717

ARM64 · EXE(WiX Burn)

靜默安裝dotnet-runtime-7.0.20-win-arm64.exe /quiet
解除安裝msiexec /x {B6F1CC59-463A-4FAB-8C81-80B214B3220B} /qn /norestart
MSI產品代碼
{b6f1cc59-463a-4fab-8c81-80b214b3220b}
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{b6f1cc59-463a-4fab-8c81-80b214b3220b}
DisplayVersion
7.0.20.33717

32位元 · EXE(WiX Burn)

靜默安裝dotnet-runtime-7.0.20-win-x86.exe /quiet
解除安裝msiexec /x {19BAD26F-B090-4EFD-9309-DA522523A706} /qn /norestart
MSI產品代碼
{19bad26f-b090-4efd-9309-da522523a706}
解除安裝登錄機碼
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{19bad26f-b090-4efd-9309-da522523a706}
DisplayVersion
7.0.20.33717

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-microsoft-net-runtime-7-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.20/dotnet-runtime-7.0.20-win-x64.exe'
$sha256 = '10F48FEEE0F7FB4C2ED61ECEF5E58699743AFC9531F8A293680A99FC2D0A78A5'
$file = Join-Path $env:TEMP 'dotnet-runtime-7.0.20-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

程式語言與SDK熱門排行

查看全部
  1. Go Programming Language程式語言與SDK
  2. LLVM程式語言與SDK · LLVM
  3. Deno程式語言與SDK · Deno Land Inc.
  4. CMake程式語言與SDK · Kitware
  5. Yarn程式語言與SDK · Yarn Contributors
  6. Ccache程式語言與SDK · Joel Rosdahl
  7. sbt程式語言與SDK · Lightbend, Inc.
  8. BOINC程式語言與SDK · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDK程式語言與SDK · Google
  10. Telegraf程式語言與SDK · InfluxData Inc.

Microsoft Corporation的其他軟體

查看全部
  • PowerShell終端機與命令列 · Microsoft Corporation
  • PowerToys系統美化 · Microsoft Corporation
  • NuGet套件管理與軟體更新 · Microsoft Corporation
  • Microsoft Azure CLI終端機與命令列 · Microsoft Corporation
  • OpenSSH PreviewFTP與檔案傳輸 · Microsoft Corporation
  • Bicep CLI程式語言與SDK · Microsoft Corporation

標籤

分享