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-agreementswinget upgrade --id Microsoft.DotNet.Runtime.7 -e --silentwinget 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 install-microsoft-net-runtime-7-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.20/dotnet-runtime-7.0.20-win-arm64.exe'
$sha256 = '04B97503BC1CA8B1FC0277E406A4875B003137B814CA20B5CB1778CCBC095CC6'
$file = Join-Path $env:TEMP 'dotnet-runtime-7.0.20-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 install-microsoft-net-runtime-7-0.ps1
$url = 'https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.20/dotnet-runtime-7.0.20-win-x86.exe'
$sha256 = '9BF79C94AB014B555167E61F3CE653FDF54C70BDA6D6C74AB9F6F44652947A89'
$file = Join-Path $env:TEMP 'dotnet-runtime-7.0.20-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