winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fbb11c13f95da43a03a0f50d78fa9aead2c00862
parent 4cd4cc4a4cf0f974c08cc7ee24b66c77bfb7be08
Author: Gerardo Grignoli <gerardog@gmail.com>
Date:   Thu, 15 Sep 2022 14:49:13 -0300

Suppress reboot by default on msiexec based installers (#2499)


Diffstat:
Msrc/AppInstallerCommonCore/Manifest/ManifestCommon.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp b/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp @@ -546,8 +546,8 @@ namespace AppInstaller::Manifest case InstallerTypeEnum::Msi: return { - {InstallerSwitchType::Silent, ManifestInstaller::string_t("/quiet")}, - {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/passive")}, + {InstallerSwitchType::Silent, ManifestInstaller::string_t("/quiet /norestart")}, + {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/passive /norestart")}, {InstallerSwitchType::Log, ManifestInstaller::string_t("/log \"" + std::string(ARG_TOKEN_LOGPATH) + "\"")}, {InstallerSwitchType::InstallLocation, ManifestInstaller::string_t("TARGETDIR=\"" + std::string(ARG_TOKEN_INSTALLPATH) + "\"")} };