From a0bb3dedc181751d0902507774334d8e47d7d236 Mon Sep 17 00:00:00 2001 From: Franky Chen Date: Thu, 3 Mar 2022 10:09:47 +0000 Subject: [PATCH] [Installer]Install dotnet with `/norestart` (#16691) * Add norestart for dotnet * Add norestart to spell-check * Add quite back for dotnet --- .github/actions/spell-check/expect.txt | 1 + installer/PowerToysSetup/PowerToys.wxs | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 6ff9599d59..42a3f097a1 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -1446,6 +1446,7 @@ NOREMOVE norename NOREPEAT NOREPOSITION +norestart NORMALDISPLAY NORMALUSER Noronha diff --git a/installer/PowerToysSetup/PowerToys.wxs b/installer/PowerToysSetup/PowerToys.wxs index f7eb721af7..f5edec3f88 100644 --- a/installer/PowerToysSetup/PowerToys.wxs +++ b/installer/PowerToysSetup/PowerToys.wxs @@ -46,11 +46,11 @@ Id="DotnetRuntime" DetectCondition="HasDotnet3122" DownloadUrl="https://download.visualstudio.microsoft.com/download/pr/1c14e24b-7f31-42dc-ba3c-83295a2d6f7e/41b93591162dfe556cc160ae44fbe75e/windowsdesktop-runtime-3.1.22-win-x64.exe" - InstallCommand="/install /quiet" - RepairCommand="/repair /passive" + InstallCommand="/install /quiet /norestart" + RepairCommand="/repair /passive /norestart" Permanent="yes" PerMachine="yes" - UninstallCommand="/uninstall /quiet"> + UninstallCommand="/uninstall /quiet /norestart"> + UninstallCommand="/uninstall /quiet /norestart">