The ASP.NET Core Runtime enables you to run existing web/server applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of ASP.NET Core Runtime 8.0 from the command line using the EXE installer.
How to Install ASP.NET Core Runtime 8.0 Silently
ASP.NET Core Runtime 8.0.x Hosting Bundle Silent Install (EXE)
- Navigate to: https://dotnet.microsoft.com/en-us/download/dotnet/8.0
- Under ASP.NET Core Runtime, select the Hosting Bundle Installer
- Download the dotnet-hosting-8.0.x-win.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: dotnet-hosting-8.0.x-win.exe /install /quiet /norestart
- Press Enter
After a few moments you will find ASP.NET Core Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | ASP.NET Core Runtime 8.0.x Hosting Bundle |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | dotnet-hosting-8.0.x-win.exe /install /quiet /norestart |
Silent Uninstall Switch: | dotnet-hosting-8.0.x-win.exe /uninstall /quiet /norestart |
Repair Command: | dotnet-hosting-8.0.x-win.exe /repair /quiet /norestart |
Download Link: | https://dotnet.microsoft.com/en-us/download/dotnet/8.0 |
PowerShell Script: | ASP.NET Core Runtime 8.0 | PowerShell Script |
Detection Script: | ASP.NET Core Runtime 8.0 | Custom Detection Script |
ASP.NET Core Runtime 8.0.x (x86) Silent Install (EXE)
- Navigate to: https://dotnet.microsoft.com/en-us/download/dotnet/8.0
- Under ASP.NET Core Runtime, select the x86 Windows Installer
- Download the aspnetcore-runtime-8.0.x-win-x86.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: aspnetcore-runtime-8.0.x-win-x86.exe /install /quiet /norestart
- Press Enter
After a few moments you will find ASP.NET Core Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | ASP.NET Core Runtime 8.0.x (x86) |
Vendor: | Microsoft Corporation |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | aspnetcore-runtime-8.0.x-win-x86.exe /install /quiet /norestart |
Silent Uninstall Switch: | aspnetcore-runtime-8.0.x-win-x86.exe /uninstall /quiet /norestart |
Repair Command: | aspnetcore-runtime-8.0.x-win-x86.exe /repair /quiet /norestart |
Download Link: | https://dotnet.microsoft.com/en-us/download/dotnet/8.0 |
PowerShell Script: | ASP.NET Core Runtime 8.0 | PowerShell Script |
Detection Script: | ASP.NET Core Runtime 8.0 | Custom Detection Script |
ASP.NET Core Runtime 8.0.x (x64) Silent Install (EXE)
- Navigate to: https://dotnet.microsoft.com/en-us/download/dotnet/8.0
- Under ASP.NET Core Runtime, select the x64 Windows Installer
- Download the aspnetcore-runtime-8.0.x-win-x64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: aspnetcore-runtime-8.0.x-win-x64.exe /install /quiet /norestart
- Press Enter
After a few moments you will find ASP.NET Core Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | ASP.NET Core Runtime 8.0.x (x64) |
Vendor: | Microsoft Corporation |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | aspnetcore-runtime-8.0.x-win-x64.exe /install /quiet /norestart |
Silent Uninstall Switch: | aspnetcore-runtime-8.0.x-win-x64.exe /uninstall /quiet /norestart |
Repair Command: | aspnetcore-runtime-8.0.x-win-x64.exe /repair /quiet /norestart |
Download Link: | https://dotnet.microsoft.com/en-us/download/dotnet/8.0 |
PowerShell Script: | ASP.NET Core Runtime 8.0 | PowerShell Script |
Detection Script: | ASP.NET Core Runtime 8.0 | Custom Detection Script |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create an ASP.NET Core Runtime Installation Log File
The ASP.NET Core Runtime installers offer the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
ASP.NET Core Runtime 8.0.x Hosting Bundle Silent Install (EXE) with Logging
dotnet-hosting-8.0.x-win.exe /install /quiet /norestart /log "%WINDIR%\Temp\DotNetHosting80.log" |
ASP.NET Core Runtime 8.0.x (x86) Silent Install (EXE) with Logging
aspnetcore-runtime-8.0.x-win-x86.exe /install /quiet /norestart /log "%WINDIR%\Temp\ASPDotNetCore80x86.log" |
ASP.NET Core Runtime 8.0.x (x64) Silent Install (EXE) with Logging
aspnetcore-runtime-8.0.x-win-x64.exe /install /quiet /norestart /log "%WINDIR%\Temp\ASPDotNetCore80x64-Install.log" |
How to Uninstall ASP.NET Core Runtime 8.0 Silently
Check out the following posts for a scripted solution:
ASP.NET Core Runtime 8.0 Install and Uninstall (PowerShell) |
ASP.NET Core Runtime 8.0 Silent Uninstall (PowerShell) |
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
ASP.NET Core Runtime 8.0.x Hosting Bundle Silent Uninstall (EXE)
dotnet-hosting-8.0.x-win.exe /uninstall /quiet /norestart |
ASP.NET Core Runtime 8.0.x (x86) Silent Uninstall (EXE)
aspnetcore-runtime-8.0.x-win-x86.exe /uninstall /quiet /norestart |
ASP.NET Core Runtime 8.0.x (x64) Silent Uninstall (EXE)
aspnetcore-runtime-8.0.x-win-x64.exe /uninstall /quiet /norestart |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.