From a8ab3e85e5ab08b9546709d99e354d3a34f26c51 Mon Sep 17 00:00:00 2001 From: Gerardo Grignoli Date: Tue, 6 Sep 2022 13:41:17 -0300 Subject: [PATCH] Suppress reboot by default on msiexec based installers --- src/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 index c3cc446767..5780ad4640 100644 --- a/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp +++ b/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp @@ -542,8 +542,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) + "\"")} };