Les commandes pour installer Microsoft .NET Framework Developer Pack sans aucune question, le désinstaller et le détecter depuis un outil de déploiement. Une commande n’apparaît que si elle est certaine : issue du manifeste ou valeur par défaut documentée de la technologie d’installation.
Guide associé: Installation silencieuse : MSI, NSIS, Inno Setup · Désinstaller un programme via le registre ou PowerShell
Avec winget
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 --silentPar installateur
64 bits · EXE
NDP481-DevPack-ENU.exe /install /quiet /norestartmsiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- Code produit MSI
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
ARM64 · EXE
NDP481-DevPack-ENU.exe /install /quiet /norestartmsiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- Code produit MSI
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
32 bits · EXE
NDP481-DevPack-ENU.exe /install /quiet /norestartmsiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- Code produit MSI
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
Tous processeurs · EXE
NDP481-DevPack-ENU.exe /install /quiet /norestartmsiexec /x {81EF376F-C9A1-42A3-8997-22A1DE4687F0} /qn /norestart- Code produit MSI
- {81ef376f-c9a1-42a3-8997-22a1de4687f0}
- Clé de registre de désinstallation
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81ef376f-c9a1-42a3-8997-22a1de4687f0}
- DisplayVersion
- 4.8.09037
PowerShell : télécharger, vérifier, installer
Télécharge le fichier officiel, vérifie son empreinte SHA256 et l’installe en mode silencieux.
$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 $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 $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 $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