Microsoft .NET Runtime 2.2 लाई कुनै प्रश्न नसोधी इन्स्टल गर्ने, फेरि हटाउने र डिप्लोइमेन्ट टुलले पहिचान गर्ने कमान्डहरू। कुनै कमान्ड पक्का भएमा मात्र देखाइन्छ: म्यानिफेस्टबाट, वा इन्स्टलर प्रविधिको दस्तावेज गरिएको डिफल्टबाट।
सम्बन्धित गाइड: साइलेन्ट इन्स्टल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री वा PowerShell बाट प्रोग्राम अनइन्स्टल गर्नुहोस्
winget बाट
PowerShell
winget install --id Microsoft.DotNet.Runtime.2_2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Runtime.2_2 -e --silentwinget uninstall --id Microsoft.DotNet.Runtime.2_2 -e --silentइन्स्टलर अनुसार
६४-बिट · 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}
३२-बिट · 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 install-microsoft-net-runtime-2-2.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/2.2.8/dotnet-runtime-2.2.8-win-x86.msi'
$sha256 = '7C77F02166658990379C41770ADE153CE3721A88DE131EB51A036A0033C45B74'
$file = Join-Path $env:TEMP 'dotnet-runtime-2.2.8-win-x86.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