The exact silent switches the Microsoft ASP.NET Core Hosting Bundle 5.0 installer accepts, plus a one-line command you can paste into a script, Intune Win32 app, or Configuration Manager package.
msiexec.exe /i dotnet-hosting-5.0.17-win.exe /quiet
Run from the directory containing dotnet-hosting-5.0.17-win.exe. Download the installer from the Direct link below first.
| Architecture | Scope | Type | Silent switches | Source |
|---|---|---|---|---|
| x86 | - | EXE Burn bundle | Declared by publisher |
/S for NSIS, /quiet /norestart for MSI).Prefer the winget route? See the full Microsoft ASP.NET Core Hosting Bundle 5.0 install page.