The .NET Core Runtime contains the components needed to run a console app. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of .NET Core Runtime 1.1 from the command line using the EXE installer.
How to Install .NET Core Runtime 1.1 Silently
.NET Core Runtime 1.1.x (x86) Silent Install (EXE)
- Navigate to: https://dotnet.microsoft.com/en-us/download/dotnet/1.1
- Under .NET Runtime, select the x86 Windows Installer
- Download the dotnet-win-x86.1.1.x.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-win-x86.1.1.x.exe /install /quiet /norestart
- Press Enter
After a few moments you will find .NET Core Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | .NET Core Runtime 1.1.x (x86) |
Vendor: | Microsoft Corporation |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | dotnet-win-x86.1.1.x.exe /install /quiet /norestart |
Silent Uninstall Switch: | dotnet-win-x86.1.1.x.exe /uninstall /quiet /norestart |
Repair Command: | dotnet-win-x86.1.1.x.exe /repair /quiet /norestart |
Download Link: | https://dotnet.microsoft.com/en-us/download/dotnet/1.1 |
PowerShell Script: | https://silentinstallhq.com/net-core-runtime-1-1-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-net-core-runtime-1-1-powershell/ |
.NET Core Runtime 1.1.x (x64) Silent Install (EXE)
- Navigate to: https://dotnet.microsoft.com/en-us/download/dotnet/1.1
- Under .NET Runtime, select the x64 Windows Installer
- Download the dotnet-win-x64.1.1.x.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-win-x64.1.1.x.exe /install /quiet /norestart
- Press Enter
After a few moments you will find .NET Core Runtime entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | .NET Core Runtime 1.1.x (x64) |
Vendor: | Microsoft Corporation |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | dotnet-win-x64.1.1.x.exe /install /quiet /norestart |
Silent Uninstall Switch: | dotnet-win-x64.1.1.x.exe /uninstall /quiet /norestart |
Repair Command: | dotnet-win-x64.1.1.x.exe /repair /quiet /norestart |
Download Link: | https://dotnet.microsoft.com/en-us/download/dotnet/1.1 |
PowerShell Script: | https://silentinstallhq.com/net-core-runtime-1-1-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-net-core-runtime-1-1-powershell/ |
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 Installation Log File
The .NET Runtime installer offers 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.
.NET Runtime 1.1.x (x86) Silent Install (EXE) with Logging
dotnet-win-x86.1.1.x.exe /install /quiet /norestart /log "%WINDIR%\Temp\DotNet11x86-Install.log" |
.NET Runtime 1.1.x (x64) Silent Install (EXE) with Logging
dotnet-win-x64.1.1.x.exe /install /quiet /norestart /log "%WINDIR%\Temp\DotNet11x64-Install.log" |
How to Uninstall .NET Core Runtime 1.1 Silently
Check out the .NET Core Runtime 1.1 Install and Uninstall (PowerShell) post for a scripted solution.
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
.NET Core Runtime 1.1.x (x86) Silent Uninstall (EXE)
dotnet-win-x86.1.1.x.exe /uninstall /quiet /norestart |
.NET Core Runtime 1.1.x (x64) Silent Uninstall (EXE)
dotnet-win-x64.1.1.x.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.