Kommandoer til at installere Microsoft .NET Framework Developer Pack uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id Microsoft.DotNet.Framework.DeveloperPack_4 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.DotNet.Framework.DeveloperPack_4 -e --silentwinget uninstall --id Microsoft.DotNet.Framework.DeveloperPack_4 -e --silentPr. installationsfil
64-bit · EXE
Lydløs installation
NDP481-DevPack-ENU.exe /install /quiet /norestartAfinstallation
msiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- MSI-produktkode
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
ARM64 · EXE
Lydløs installation
NDP481-DevPack-ENU.exe /install /quiet /norestartAfinstallation
msiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- MSI-produktkode
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
32-bit · EXE
Lydløs installation
NDP481-DevPack-ENU.exe /install /quiet /norestartAfinstallation
msiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- MSI-produktkode
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
Alle processorer · EXE
Lydløs installation
NDP481-DevPack-ENU.exe /install /quiet /norestartAfinstallation
msiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- MSI-produktkode
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-microsoft-net-framework-developer-pack.ps1
$url = 'https://download.microsoft.com/download/8/1/8/81877d8b-a9b2-4153-9ad2-63a6441d11dd/NDP481-DevPack-ENU.exe'
$sha256 = 'FD9AE4B63CBC8F7637249C4B29D25281B1F70FBE6D650109DCBF2BDF596CF994'
$file = Join-Path $env:TEMP 'NDP481-DevPack-ENU.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 '/install /quiet /norestart' -Wait install-microsoft-net-framework-developer-pack.ps1
$url = 'https://download.microsoft.com/download/8/1/8/81877d8b-a9b2-4153-9ad2-63a6441d11dd/NDP481-DevPack-ENU.exe'
$sha256 = 'FD9AE4B63CBC8F7637249C4B29D25281B1F70FBE6D650109DCBF2BDF596CF994'
$file = Join-Path $env:TEMP 'NDP481-DevPack-ENU.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 '/install /quiet /norestart' -Wait install-microsoft-net-framework-developer-pack.ps1
$url = 'https://download.microsoft.com/download/8/1/8/81877d8b-a9b2-4153-9ad2-63a6441d11dd/NDP481-DevPack-ENU.exe'
$sha256 = 'FD9AE4B63CBC8F7637249C4B29D25281B1F70FBE6D650109DCBF2BDF596CF994'
$file = Join-Path $env:TEMP 'NDP481-DevPack-ENU.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 '/install /quiet /norestart' -Wait install-microsoft-net-framework-developer-pack.ps1
$url = 'https://download.microsoft.com/download/8/1/8/81877d8b-a9b2-4153-9ad2-63a6441d11dd/NDP481-DevPack-ENU.exe'
$sha256 = 'FD9AE4B63CBC8F7637249C4B29D25281B1F70FBE6D650109DCBF2BDF596CF994'
$file = Join-Path $env:TEMP 'NDP481-DevPack-ENU.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 '/install /quiet /norestart' -Wait