commit f804b953e4e5cdf584ee6c5e414421b08cb749ca
parent 4a5611fd9eded2a783c9f803f1a05ff039ccf33f
Author: SpecterShell <56779163+SpecterShell@users.noreply.github.com>
Date: Thu, 22 Sep 2022 04:51:05 +0800
Suppress reboot by default on Inno based installers (#2536)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp b/src/AppInstallerCommonCore/Manifest/ManifestCommon.cpp
@@ -561,8 +561,8 @@ namespace AppInstaller::Manifest
case InstallerTypeEnum::Inno:
return
{
- {InstallerSwitchType::Silent, ManifestInstaller::string_t("/VERYSILENT")},
- {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/SILENT")},
+ {InstallerSwitchType::Silent, ManifestInstaller::string_t("/VERYSILENT /NORESTART")},
+ {InstallerSwitchType::SilentWithProgress, ManifestInstaller::string_t("/SILENT /NORESTART")},
{InstallerSwitchType::Log, ManifestInstaller::string_t("/LOG=\"" + std::string(ARG_TOKEN_LOGPATH) + "\"")},
{InstallerSwitchType::InstallLocation, ManifestInstaller::string_t("/DIR=\"" + std::string(ARG_TOKEN_INSTALLPATH) + "\"")}
};