Microsoft .NET Native Runtime कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
winget install --id Microsoft.DotNet.Native.Runtime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Native.Runtime -e --silentwinget uninstall --id Microsoft.DotNet.Native.Runtime -e --silentइन्स्टॉलरनुसार
64-बिट · ZIP
Add-AppxPackage -Path Dependencies.zipGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackageARM64 · ZIP
Add-AppxPackage -Path Dependencies.zipGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackage32-बिट · ZIP
Add-AppxPackage -Path Dependencies.zipGet-AppxPackage -Name Microsoft.NET.Native.Runtime.2.2 | Remove-AppxPackagePowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
$url = 'https://github.com/microsoft/busiotools/releases/download/v2.8.0/Dependencies.zip'
$sha256 = '91B666A399CBA3E6D3A6816C80B0422D4BCDAB2A7FBE6F19E6D080B63BDC637F'
$file = Join-Path $env:TEMP 'Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file $url = 'https://github.com/microsoft/busiotools/releases/download/v2.8.0/Dependencies.zip'
$sha256 = '91B666A399CBA3E6D3A6816C80B0422D4BCDAB2A7FBE6F19E6D080B63BDC637F'
$file = Join-Path $env:TEMP 'Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file $url = 'https://github.com/microsoft/busiotools/releases/download/v2.8.0/Dependencies.zip'
$sha256 = '91B666A399CBA3E6D3A6816C80B0422D4BCDAB2A7FBE6F19E6D080B63BDC637F'
$file = Join-Path $env:TEMP 'Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file