人気: データ更新日:2026年10月27日

カテゴリ

インターネット1,356
コミュニケーション321
音楽・動画898
画像・デザイン539
オフィス・仕事効率化1,124
開発ツール3,134
AIツール529
セキュリティ・プライバシー385
システムツール3,114
ゲーム523
教育・科学239
ネットワーク・IT管理284

Microsoft .NET Runtime 2.2のサイレントインストール方法

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

Microsoft .NET Runtime 2.2を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。

関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法

wingetを使う

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

インストーラー別

64ビット · MSI

サイレントインストールmsiexec /i dotnet-runtime-2.2.8-win-x64.msi /qn /norestart
ログを出力msiexec /i dotnet-runtime-2.2.8-win-x64.msi /qn /norestart /l*v "%TEMP%\microsoft-net-runtime-2-2-install.log"
アンインストールmsiexec /x {8A352243-B26C-4A83-9E2C-2575541C7430} /qn /norestart
MSIプロダクトコード
{8a352243-b26c-4a83-9e2c-2575541c7430}
アンインストール用レジストリキー
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8a352243-b26c-4a83-9e2c-2575541c7430}

32ビット · MSI

サイレントインストールmsiexec /i dotnet-runtime-2.2.8-win-x86.msi /qn /norestart
ログを出力msiexec /i dotnet-runtime-2.2.8-win-x86.msi /qn /norestart /l*v "%TEMP%\microsoft-net-runtime-2-2-install.log"
アンインストールmsiexec /x {A43FB71B-6ABC-46D7-A3E9-EECB6EE5FA34} /qn /norestart
MSIプロダクトコード
{a43fb71b-6abc-46d7-a3e9-eecb6ee5fa34}
アンインストール用レジストリキー
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{a43fb71b-6abc-46d7-a3e9-eecb6ee5fa34}

ARM · ZIP

インストール不要(ポータブル)

PowerShell:ダウンロード・検証・インストール

公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。

install-microsoft-net-runtime-2-2.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/2.2.8/dotnet-runtime-2.2.8-win-x64.msi'
$sha256 = '806C50B31E8B9C9B86F9ADDF0FDDF86372086EDF168D5CAA04CF6FABFAACD4E5'
$file = Join-Path $env:TEMP 'dotnet-runtime-2.2.8-win-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait

Microsoft Corporationのほかのソフト

すべて表示
  • PowerShellターミナル・CLIツール · Microsoft Corporation
  • PowerToysカスタマイズ · Microsoft Corporation
  • NuGetパッケージ管理・アップデーター · Microsoft Corporation
  • Microsoft Azure CLIターミナル・CLIツール · Microsoft Corporation
  • OpenSSH PreviewFTP・ファイル転送 · Microsoft Corporation
  • Bicep CLIプログラミング言語・SDK · Microsoft Corporation

タグ

共有