From 3b4b63a1f6b61a6e268a927ca2b1c6860558acf2 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Wed, 20 Nov 2024 14:21:04 -0800 Subject: [PATCH 1/3] Document /uninstall and /repair options for .NET --- docs/core/install/windows.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index f6b2a914a2044..ba21968c612c6 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -220,6 +220,8 @@ Suppresses any attempts to restart. dotnet-sdk-9.0.100-win-x64.exe /install /quiet /norestart ``` +You can replace the `/install` option with `/uninstall` or `/repair` to remove or modify an installation. + > [!TIP] > The installer returns an exit code of **0** for success and an exit code of **3010** to indicate that a restart is required. Any other value is most likely an error code. From a3dfde45bfb88a97a434c38a73ebd6f6646600fc Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Wed, 20 Nov 2024 15:57:02 -0800 Subject: [PATCH 2/3] Update docs/core/install/windows.md Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com> --- docs/core/install/windows.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index ba21968c612c6..c41fa06c227c1 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -220,8 +220,13 @@ Suppresses any attempts to restart. dotnet-sdk-9.0.100-win-x64.exe /install /quiet /norestart ``` -You can replace the `/install` option with `/uninstall` or `/repair` to remove or modify an installation. +If you've already installed .NET, use the .NET Installer to manage the installation. Instead of `/install`, use one of the following options: +- `/uninstall`\ +Remove this version of .NET. + +- `/repair`\ +Check if the installations key files or components are damaged and restore them. > [!TIP] > The installer returns an exit code of **0** for success and an exit code of **3010** to indicate that a restart is required. Any other value is most likely an error code. From a95fdbf2998c0e9e2902b45076f45163ccda9158 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Wed, 20 Nov 2024 16:02:35 -0800 Subject: [PATCH 3/3] Fix lint error --- docs/core/install/windows.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/core/install/windows.md b/docs/core/install/windows.md index c41fa06c227c1..8f8994270208c 100644 --- a/docs/core/install/windows.md +++ b/docs/core/install/windows.md @@ -227,6 +227,7 @@ Remove this version of .NET. - `/repair`\ Check if the installations key files or components are damaged and restore them. + > [!TIP] > The installer returns an exit code of **0** for success and an exit code of **3010** to indicate that a restart is required. Any other value is most likely an error code.